Results of 1 - 10 of about 89 for slot (0.020 sec.)
- Type Object Structures — Python 3.14.8 ドキュメント 13476
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...unc __getattribute__, __getattr__ G ( tp_setattr ) setattrfunc __setattr__, __delattr__ G tp_as_async PyAsyncMethods * sub-slots % tp_repr reprfunc __repr__ X X X tp_as_number PyNumberMethods * sub-slots % tp_as_sequence PySequenceMethods * sub-slots...% tp_as_mapping PyMappingMethods * sub-slots % tp_hash hashfunc __hash__ X G tp_call ternaryfunc __call__ X X tp_str reprfunc __str__ X X tp_getattro getattrofunc __g...etattribute__, __getattr__ X X G tp_setattro setattrofunc __setattr__, __delattr__ X X G tp_as_buffer PyBufferProcs * sub-slots % tp_flags unsigned long X X ? tp_doc const char * __doc__ X X tp_traverse traverseproc X G tp_clear inquiry X G tp_richc... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 13423
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...unc __getattribute__, __getattr__ G ( tp_setattr ) setattrfunc __setattr__, __delattr__ G tp_as_async PyAsyncMethods * sub-slots % tp_repr reprfunc __repr__ X X X tp_as_number PyNumberMethods * sub-slots % tp_as_sequence PySequenceMethods * sub-slots...% tp_as_mapping PyMappingMethods * sub-slots % tp_hash hashfunc __hash__ X G tp_call ternaryfunc __call__ X X tp_str reprfunc __str__ X X tp_getattro getattrofunc __g...etattribute__, __getattr__ X X G tp_setattro setattrofunc __setattr__, __delattr__ X X G tp_as_buffer PyBufferProcs * sub-slots % tp_flags unsigned long X X ? tp_doc const char * __doc__ X X tp_traverse traverseproc X G tp_clear inquiry X G tp_richc... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 型オブジェクト — Python 3.14.8 ドキュメント 10655
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...TypeObject * type , Py_ssize_t nitems ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic handler for the tp_alloc slot of a type object. Uses Python's default memory allocation mechanism to allocate memory for a new instance, zeros the memor...Object_Init() or PyObject_InitVar() . Do not call this directly to allocate memory for an object; call the type's tp_alloc slot instead. For types that support garbage collection (i.e., the Py_TPFLAGS_HAVE_GC flag is set), this function behaves like...ype , PyObject * args , PyObject * kwds ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic handler for the tp_new slot of a type object. Creates a new instance using the type's tp_alloc slot and returns the resulting object. int PyType_Ready... - https://man.mtool.work/python/3.14/c-api/type.html
- 型オブジェクト — Python 3.14.8 ドキュメント 10655
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...TypeObject * type , Py_ssize_t nitems ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic handler for the tp_alloc slot of a type object. Uses Python's default memory allocation mechanism to allocate memory for a new instance, zeros the memor...Object_Init() or PyObject_InitVar() . Do not call this directly to allocate memory for an object; call the type's tp_alloc slot instead. For types that support garbage collection (i.e., the Py_TPFLAGS_HAVE_GC flag is set), this function behaves like...ype , PyObject * args , PyObject * kwds ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic handler for the tp_new slot of a type object. Creates a new instance using the type's tp_alloc slot and returns the resulting object. int PyType_Ready... - https://man.mtool.work/python/3.14/c-api/type.html
- Allocating objects on the heap — Python 3.14.8 ドキュメント 8476
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...f the object are not initialized. Despite its name, this function is unrelated to the object's __init__() method ( tp_init slot). Specifically, this function does not call the object's __init__() method. In general, consider this function to be a low.... its reference count will be one). Avoid calling this directly to allocate memory for an object; call the type's tp_alloc slot instead. When populating a type's tp_alloc slot, PyType_GenericAlloc() is preferred over a custom function that simply cal...GC_New instead. Memory allocated by this macro must be freed with PyObject_Free() (usually called via the object's tp_free slot). 注釈 The returned memory is not guaranteed to have been completely zeroed before it was initialized. 注釈 This macro doe... - https://man.mtool.work/python/3.14/c-api/allocation.html
- Allocating objects on the heap — Python 3.14.8 ドキュメント 8476
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...f the object are not initialized. Despite its name, this function is unrelated to the object's __init__() method ( tp_init slot). Specifically, this function does not call the object's __init__() method. In general, consider this function to be a low.... its reference count will be one). Avoid calling this directly to allocate memory for an object; call the type's tp_alloc slot instead. When populating a type's tp_alloc slot, PyType_GenericAlloc() is preferred over a custom function that simply cal...GC_New instead. Memory allocated by this macro must be freed with PyObject_Free() (usually called via the object's tp_free slot). 注釈 The returned memory is not guaranteed to have been completely zeroed before it was initialized. 注釈 This macro doe... - https://man.mtool.work/python/3.14/c-api/allocation.html
- 循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 7834
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク |
...with the Py_TPFLAGS_HAVE_GC flag set. Do not call this directly to allocate memory for an object; call the type's tp_alloc slot instead. When populating a type's tp_alloc slot, PyType_GenericAlloc() is preferred over a custom function that simply cal...s this macro. Memory allocated by this macro must be freed with PyObject_GC_Del() (usually called via the object's tp_free slot). 参考 PyObject_GC_Del() PyObject_New PyType_GenericAlloc() tp_alloc PyObject_GC_NewVar ( TYPE , typeobj , size ) ¶ Analog...with the Py_TPFLAGS_HAVE_GC flag set. Do not call this directly to allocate memory for an object; call the type's tp_alloc slot instead. When populating a type's tp_alloc slot, PyType_GenericAlloc() is preferred over a custom function that simply cal... - https://man.mtool.work/python/3.14/c-api/gcsupport.html
- モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 7781
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ
...o a table of module-level functions, described by PyMethodDef values. Can be NULL if no functions are present. PyModuleDef_Slot * m_slots ¶ An array of slot definitions for multi-phase initialization, terminated by a {0, NULL} entry. When using legac...y single-phase initialization, m_slots must be NULL . バージョン 3.5 で変更: バージョン 3.5 より前は、このメンバは常に NULL に設定されていて、次のものとして定義...d. PyTypeObject PyModuleDef_Type ¶ 次に属します: Stable ABI (バージョン 3.5 より). The type of PyModuleDef objects. Module slots ¶ type PyModuleDef_Slot ¶ 次に属します: Stable ABI (すべてのメンバーを含む) (バージョン 3.5 より). int slot ¶ A slot ID,... - https://man.mtool.work/python/3.14/c-api/module.html
- モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 7781
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ
...o a table of module-level functions, described by PyMethodDef values. Can be NULL if no functions are present. PyModuleDef_Slot * m_slots ¶ An array of slot definitions for multi-phase initialization, terminated by a {0, NULL} entry. When using legac...y single-phase initialization, m_slots must be NULL . バージョン 3.5 で変更: バージョン 3.5 より前は、このメンバは常に NULL に設定されていて、次のものとして定義...d. PyTypeObject PyModuleDef_Type ¶ 次に属します: Stable ABI (バージョン 3.5 より). The type of PyModuleDef objects. Module slots ¶ type PyModuleDef_Slot ¶ 次に属します: Stable ABI (すべてのメンバーを含む) (バージョン 3.5 より). int slot ¶ A slot ID,... - https://man.mtool.work/python/3.14/c-api/module.html
- デスクリプタオブジェクト (descriptor object) — Python 3.14.8 ドキュメント 7674
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » デスクリプタオブジェクト (descriptor object) テーマ 自動 ライト ダーク | デスクリプタ
...ons as methods on a type, and correspond to types.MethodDescriptorType objects in Python. struct wrapperbase ¶ Describes a slot wrapper used by PyDescr_NewWrapper() . Each wrapperbase record stores the Python-visible name and metadata for a special m...ethod implemented by a type slot, together with the wrapper function used to adapt that slot to Python's calling convention. PyObject * PyDescr_NewWrapper...: 新しい参照。 Create a new wrapper descriptor for extension type type from the wrapperbase structure base and the wrapped slot function pointer wrapped . Wrapper descriptors expose special methods implemented by type slots. This is the same kind of... - https://man.mtool.work/python/3.14/c-api/descriptor.html