Results of 1 - 10 of about 37 for ジェネリック (0.029 sec.)
- Python Documentation contents — Python 3.14.8 ドキュメント 11334
- ナビゲーション 索引 モジュール | 次へ | Python » 3.14.8 Documentation » Python Documentation contents テーマ 自動 ライト ダーク | Python Documentation contents ¶ What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新し
...ズ PEP 564: ナノ秒単位の分解能を持つ新しい時間関数 PEP 565: Show DeprecationWarning in __main__ PEP 560: typing モジュールとジェネリック型に対する言語コアによるサポート PEP 552: Hash-based .pyc Files PEP 545: Python Documentation Translations Python Developmen...行 3.3.3.6. クラスオブジェクトの作成 3.3.3.7. メタクラスの用途 3.3.4. インスタンスのカスタマイズとサブクラスチェック 3.3.5. ジェネリック型をエミュレートする 3.3.5.1. The purpose of __class_getitem__ 3.3.5.2. __class_getitem__ versus __getitem__ 3.3.6. 呼び出し...(集合)型 --- set , frozenset Mapping Types --- dict 辞書ビューオブジェクト コンテキストマネージャ型 型アノテーション型 --- ジェネリックエイリアス 、 ユニオン ジェネリックエイリアス型 標準ジェネリッククラス GenericAlias オブジェクトの特別な属性 Union 型 その他... - https://man.mtool.work/python/3.14/contents.html
- Python Documentation contents — Python 3.14.8 ドキュメント 11255
- ナビゲーション 索引 モジュール | 次へ | Python » 3.14.8 Documentation » Python Documentation contents テーマ 自動 ライト ダーク | Python Documentation contents ¶ What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新し
...ズ PEP 564: ナノ秒単位の分解能を持つ新しい時間関数 PEP 565: Show DeprecationWarning in __main__ PEP 560: typing モジュールとジェネリック型に対する言語コアによるサポート PEP 552: Hash-based .pyc Files PEP 545: Python Documentation Translations Python Developmen...行 3.3.3.6. クラスオブジェクトの作成 3.3.3.7. メタクラスの用途 3.3.4. インスタンスのカスタマイズとサブクラスチェック 3.3.5. ジェネリック型をエミュレートする 3.3.5.1. The purpose of __class_getitem__ 3.3.5.2. __class_getitem__ versus __getitem__ 3.3.6. 呼び出し...(集合)型 --- set , frozenset Mapping Types --- dict 辞書ビューオブジェクト コンテキストマネージャ型 型アノテーション型 --- ジェネリックエイリアス 、 ユニオン ジェネリックエイリアス型 標準ジェネリッククラス GenericAlias オブジェクトの特別な属性 Union 型 その他... - https://man.mtool.work/python/3.14/contents.html
- 組み込み型 — Python 3.14.8 ドキュメント 10181
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...ンテキストを準備するオーバーヘッドに比べたら、一回のクラス辞書の探索のオーバーヘッドは無視できます。 型アノテーション型 --- ジェネリックエイリアス 、 ユニオン ¶ 型アノテーション の中心となる組み込みの型は ジェネリックエイリアス と ユニオン です。 ジェネリックエ...、そのクラスが特殊メソッド __class_getitem__() を実装しているときに限り可能です。 GenericAlias オブジェクトは パラメータ付きジェネリック型 を実装したジェネリック型 ( generic type ) の代用として振る舞います。 コンテナクラスに対してクラスの 添字表記 に与えられた...s ) / len ( values ) もうひとつの例として mapping オブジェクトの場合を示します。ここではキーと値の2つの型をパラメータとするジェネリック型である dict を使っています。この例では、関数はキーが str 型、値が int 型であるような dict を引数にとります: def send_post_... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 10055
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...ト文字列 __name__ クラスの定義名 __qualname__ qualified name __module__ クラスを定義しているモジュールの名前 __type_params__ ジェネリッククラスの 型パラメータ (type parameters) を含むタプル メソッド __doc__ ドキュメント文字列 __name__ メソッドの定義名 __qualnam...ations__ 仮引数名からアノテーションへのマッピング; "return" キーは return アノテーションに予約されています __type_params__ ジェネリック関数の 型パラメータ (type parameters) を含むタプル __module__ この関数が定義されているモジュールの名前 traceback tb_frame こ... - https://man.mtool.work/python/3.14/library/inspect.html
- inspect --- 活動中のオブジェクトを調査する — Python 3.14.8 ドキュメント 10055
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » inspect --- 活動中のオブジェクトを調査する テーマ 自動 ライト ダーク | inspect --- 活動中のオブジェクト
...ト文字列 __name__ クラスの定義名 __qualname__ qualified name __module__ クラスを定義しているモジュールの名前 __type_params__ ジェネリッククラスの 型パラメータ (type parameters) を含むタプル メソッド __doc__ ドキュメント文字列 __name__ メソッドの定義名 __qualnam...ations__ 仮引数名からアノテーションへのマッピング; "return" キーは return アノテーションに予約されています __type_params__ ジェネリック関数の 型パラメータ (type parameters) を含むタプル __module__ この関数が定義されているモジュールの名前 traceback tb_frame こ... - https://man.mtool.work/python/3.14/library/inspect.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 9882
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...ることを表します。 def notify_by_email ( employees : Sequence [ Employee ], overrides : Mapping [ str , str ]) -> None : ... ジェネリック関数およびクラスは以下の通り、 型引数構文 を使うことでパラメータ化できます: from collections.abc import Sequence def first [...T ]( l : Sequence [ T ]) -> T : # この関数は型変数 "T" に関してジェネリックです return l [ 0 ] もしくは、 TypeVar のコンストラクタを使うこともできます: from collections.abc import Sequence from typin...g import TypeVar U = TypeVar ( 'U' ) # 型引数 "U" を宣言 def second ( l : Sequence [ U ]) -> U : # 型引数 "U" に関してジェネリックな関数 return l [ 1 ] バージョン 3.12 で変更: ジェネリックが構文としてサポートされたのは Python 3.12 が初めてです。 タプルの... - https://man.mtool.work/python/3.14/library/typing.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 9882
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...ることを表します。 def notify_by_email ( employees : Sequence [ Employee ], overrides : Mapping [ str , str ]) -> None : ... ジェネリック関数およびクラスは以下の通り、 型引数構文 を使うことでパラメータ化できます: from collections.abc import Sequence def first [...T ]( l : Sequence [ T ]) -> T : # この関数は型変数 "T" に関してジェネリックです return l [ 0 ] もしくは、 TypeVar のコンストラクタを使うこともできます: from collections.abc import Sequence from typin...g import TypeVar U = TypeVar ( 'U' ) # 型引数 "U" を宣言 def second ( l : Sequence [ U ]) -> U : # 型引数 "U" に関してジェネリックな関数 return l [ 1 ] バージョン 3.12 で変更: ジェネリックが構文としてサポートされたのは Python 3.12 が初めてです。 タプルの... - https://man.mtool.work/python/3.14/library/typing.html
- 3. データモデル — Python 3.14.8 ドキュメント 9424
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da
...ivation for this functionality in the context of adding Abstract Base Classes (see the abc module) to the language. 3.3.5. ジェネリック型をエミュレートする ¶ When using type annotations , it is often useful to parameterize a generic type using Python's square...ェネリクス , user-defined generics and typing.Generic 実行時にパラメータ設定が可能であり、かつ静的な型チェッカーが理解できるジェネリッククラスを実装する方法のドキュメントです。 A class can generally only be parameterized if it defines the special class method...__class_getitem__() . classmethod object. __class_getitem__ ( cls , key ) ¶ key にある型引数で特殊化されたジェネリッククラスを表すオブジェクトを返します。 When defined on a class, __class_getitem__() is automatically a class method. As such,... - https://man.mtool.work/python/3.14/reference/datamodel.html
- 開発ツール — Python 3.14.8 ドキュメント 9361
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール テーマ 自動 ライト ダーク | 開発ツール ¶ この章で紹介されるモジュールはソフトウェアを書くことを支援します。たとえば、 py
...アノテーション ジェネリクス タプルのアノテーション クラスオブジェクトの型 Annotating generators and coroutines ユーザー定義のジェネリック型 Any 型 名前的部分型 vs 構造的部分型 モジュールの内容 特殊型付けプリミティブ 特殊型 特殊形式 Building generic types and ty... - https://man.mtool.work/python/3.14/library/development.html
- 開発ツール — Python 3.14.8 ドキュメント 9361
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール テーマ 自動 ライト ダーク | 開発ツール ¶ この章で紹介されるモジュールはソフトウェアを書くことを支援します。たとえば、 py
...アノテーション ジェネリクス タプルのアノテーション クラスオブジェクトの型 Annotating generators and coroutines ユーザー定義のジェネリック型 Any 型 名前的部分型 vs 構造的部分型 モジュールの内容 特殊型付けプリミティブ 特殊型 特殊形式 Building generic types and ty... - https://man.mtool.work/python/3.14/library/development.html