Table of Contents | Type Object Structures | API and ABI Versioning | Report a bug | Improve this page | index | modules | Python | 3.14.7 Documentation | Python/C API reference manual | Object Implementation Support
Tin mới
The object’s memory must be deallocated using PyObject_GC_Del().
Analogous to PyObject_GC_New but allocates extra_size bytes at the end of the object (at offset tp_basicsize). The allocated memory is initialized to zeros, except for the Python object header.
Perform a full garbage collection, if the garbage collector is enabled. (Note that gc.collect() runs it unconditionally.)