per page, with , order by , clip by
Results of 1 - 10 of about 73 for bases (0.010 sec.)
types --- 動的な型生成と組み込み型の名前 — Python 3.14.8 ドキュメント 13973
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » types --- 動的な型生成と組み込み型の名前 テーマ 自動 ライト ダーク | types --- 動的な型生成と組み込み型の名前 ¶ ソースコ ... ほど基本的でないような追加の型関連のユーティリティと関数をいくつか提供しています。 動的な型生成 ¶ types. new_class ( name , bases = () , kwds = None , exec_body = None ) ¶ 適切なメタクラスを使用して動的にクラスオブジェクトを生成します。 最初の3つの引数 ... 渡されない場合、それは lambda ns: None を渡すことと同じ効果があります。 Added in version 3.3. types. prepare_class ( name , bases = () , kwds = None ) ¶ 適切なメタクラスを計算してクラスの名前空間を生成します。 引数はクラス定義ヘッダーを構成する要素—クラ ... トされるクラス生成プロセスの完全な詳細 PEP 3115 - Metaclasses in Python 3000 __prepare__ 名前空間フックの導入 types. resolve_bases ( bases ) ¶ Resolve MRO entries dynamically as specified by PEP 560 . This function looks for items in bases that are not ...
https://man.mtool.work/python/3.14/library/types.html
types --- 動的な型生成と組み込み型の名前 — Python 3.14.8 ドキュメント 13973
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » types --- 動的な型生成と組み込み型の名前 テーマ 自動 ライト ダーク | types --- 動的な型生成と組み込み型の名前 ¶ ソースコ ... ほど基本的でないような追加の型関連のユーティリティと関数をいくつか提供しています。 動的な型生成 ¶ types. new_class ( name , bases = () , kwds = None , exec_body = None ) ¶ 適切なメタクラスを使用して動的にクラスオブジェクトを生成します。 最初の3つの引数 ... 渡されない場合、それは lambda ns: None を渡すことと同じ効果があります。 Added in version 3.3. types. prepare_class ( name , bases = () , kwds = None ) ¶ 適切なメタクラスを計算してクラスの名前空間を生成します。 引数はクラス定義ヘッダーを構成する要素—クラ ... トされるクラス生成プロセスの完全な詳細 PEP 3115 - Metaclasses in Python 3000 __prepare__ 名前空間フックの導入 types. resolve_bases ( bases ) ¶ Resolve MRO entries dynamically as specified by PEP 560 . This function looks for items in bases that are not ...
https://man.mtool.work/python/3.14/library/types.html
型オブジェクト — Python 3.14.8 ドキュメント 10536
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属 ... p types . PyObject * PyType_FromMetaclass ( PyTypeObject * metaclass , PyObject * module , PyType_Spec * spec , PyObject * bases ) ¶ 次に属します: Stable ABI (バージョン 3.12 より). Create and return a heap type from the spec (see Py_TPFLAGS_HEAPTYPE ... metaclass metaclass is used to construct the resulting type object. When metaclass is NULL , the metaclass is derived from bases (or Py_tp_base[s] slots if bases is NULL , see below). Metaclasses that override tp_new are not supported, except if tp_ne ... w is NULL . The bases argument can be used to specify base classes; it can either be only one class or a tuple of classes. If bases is NULL , th ...
https://man.mtool.work/python/3.14/c-api/type.html
型オブジェクト — Python 3.14.8 ドキュメント 10536
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属 ... p types . PyObject * PyType_FromMetaclass ( PyTypeObject * metaclass , PyObject * module , PyType_Spec * spec , PyObject * bases ) ¶ 次に属します: Stable ABI (バージョン 3.12 より). Create and return a heap type from the spec (see Py_TPFLAGS_HEAPTYPE ... metaclass metaclass is used to construct the resulting type object. When metaclass is NULL , the metaclass is derived from bases (or Py_tp_base[s] slots if bases is NULL , see below). Metaclasses that override tp_new are not supported, except if tp_ne ... w is NULL . The bases argument can be used to specify base classes; it can either be only one class or a tuple of classes. If bases is NULL , th ...
https://man.mtool.work/python/3.14/c-api/type.html
Pending removal in Python 3.14 — Python 3.14.8 ドキュメント 8370
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.14 テーマ 自動 ライト ダーク | Pending removal in Python 3.14 ¶ The ma_version_tag field in PyDictObject for extension modules ( PEP 699 ; gh-10119 ... 3 ). Creating immutable types with mutable bases ( gh-95388 ). 関連キーワード gh Pending removal Python ma tag field PyDictObject extension modules Creating immutable type ... s mutable bases This page Report a bug Improve this page Show source Show translation source « ナビゲーション 索引 モジュール | Python » 3 ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.14.ht...
Pending removal in Python 3.14 — Python 3.14.8 ドキュメント 8370
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.14 テーマ 自動 ライト ダーク | Pending removal in Python 3.14 ¶ The ma_version_tag field in PyDictObject for extension modules ( PEP 699 ; gh-10119 ... 3 ). Creating immutable types with mutable bases ( gh-95388 ). 関連キーワード Pending removal PyDictObject extension modules Creating immutable types mutable bases This pa ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.14.ht...
3. データモデル — Python 3.14.8 ドキュメント 7923
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da ... e. __dict__ ¶ A mapping proxy providing a read-only view of the class's namespace. See also: __dict__ attributes . type. __bases__ ¶ A tuple containing the class's bases. In most cases, for a class defined as class X(A, B, C) , X.__bases__ will be exa ... multiple slotted parent classes can be used, but only one parent is allowed to have attributes created by slots (the other bases must have empty slot layouts) - violations raise TypeError . もし __slots__ に対して イテレータ を使用すると、イテレータの ... クラス ¶ デフォルトでは、クラスは type() を使って構築されます。 クラス本体は新しい名前空間で実行され、クラス名が type(name, bases, namespace) の結果にローカルに束縛されます。 クラス生成プロセスはカスタマイズできます。 そのためにはクラス定義行で metacla ...
https://man.mtool.work/python/3.14/reference/datamodel.html
3. データモデル — Python 3.14.8 ドキュメント 7825
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da ... e. __dict__ ¶ A mapping proxy providing a read-only view of the class's namespace. See also: __dict__ attributes . type. __bases__ ¶ A tuple containing the class's bases. In most cases, for a class defined as class X(A, B, C) , X.__bases__ will be exa ... multiple slotted parent classes can be used, but only one parent is allowed to have attributes created by slots (the other bases must have empty slot layouts) - violations raise TypeError . もし __slots__ に対して イテレータ を使用すると、イテレータの ... クラス ¶ デフォルトでは、クラスは type() を使って構築されます。 クラス本体は新しい名前空間で実行され、クラス名が type(name, bases, namespace) の結果にローカルに束縛されます。 クラス生成プロセスはカスタマイズできます。 そのためにはクラス定義行で metacla ...
https://man.mtool.work/python/3.14/reference/datamodel.html
Type Object Structures — Python 3.14.8 ドキュメント 7378
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... __init__ X X X tp_alloc allocfunc X ? ? tp_new newfunc __new__ X X ? ? tp_free freefunc X X ? ? tp_is_gc inquiry X X < tp_bases > PyObject * __bases__ ~ < tp_mro > PyObject * __mro__ ~ [ tp_cache ] PyObject * [ tp_subclasses ] void * __subclasses__ [ ... tp_new ; freefunc tp_free ; /* Low-level free-memory routine */ inquiry tp_is_gc ; /* For PyObject_IS_GC */ PyObject * tp_bases ; PyObject * tp_mro ; /* method resolution order */ PyObject * tp_cache ; /* no longer used */ void * tp_subclasses ; /* f ... s (gcc does), MSVC does not. Both compilers are strictly standard conforming in this particular behavior. Consequently, tp_base should be set in the extension module's init function. 継承: (当たり前ですが) サブタイプはこのフィールドを継承しません。 デ ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 7378
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... __init__ X X X tp_alloc allocfunc X ? ? tp_new newfunc __new__ X X ? ? tp_free freefunc X X ? ? tp_is_gc inquiry X X < tp_bases > PyObject * __bases__ ~ < tp_mro > PyObject * __mro__ ~ [ tp_cache ] PyObject * [ tp_subclasses ] void * __subclasses__ [ ... tp_new ; freefunc tp_free ; /* Low-level free-memory routine */ inquiry tp_is_gc ; /* For PyObject_IS_GC */ PyObject * tp_bases ; PyObject * tp_mro ; /* method resolution order */ PyObject * tp_cache ; /* no longer used */ void * tp_subclasses ; /* f ... s (gcc does), MSVC does not. Both compilers are strictly standard conforming in this particular behavior. Consequently, tp_base should be set in the extension module's init function. 継承: (当たり前ですが) サブタイプはこのフィールドを継承しません。 デ ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
PREV 1 2 3 4 5 6 7 8 NEXT