mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00

gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)
* Add "cyclic isolate" to the glossary.
* Add a new "Object Life Cycle" page.
* Improve docs for related API, with special focus on cross-references and warnings
(cherry picked from commit 3246ea514d
)
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
18 lines
317 B
ReStructuredText
18 lines
317 B
ReStructuredText
.. highlight:: c
|
|
|
|
.. _newtypes:
|
|
|
|
*****************************
|
|
Object Implementation Support
|
|
*****************************
|
|
|
|
This chapter describes the functions, types, and macros used when defining new
|
|
object types.
|
|
|
|
.. toctree::
|
|
|
|
allocation.rst
|
|
lifecycle.rst
|
|
structures.rst
|
|
typeobj.rst
|
|
gcsupport.rst
|