Pickle buffer objects | Capsules | Report a bug | Improve this page | index | modules | Python | 3.14.7 Documentation | Python/C API reference manual | Concrete Objects Layer
Tin mới
PyType_SUPPORTS_WEAKREFS() for checking if ob is weakly referenceable.
Return a borrowed reference to the referenced object from a weak reference, ref. If the referent is no longer live, returns Py_None.
This function is called by the tp_dealloc handler to clear weak references.