mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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>
21 lines
487 B
CSS
21 lines
487 B
CSS
#life_events_graph {
|
|
--svg-fgcolor: currentcolor;
|
|
--svg-bgcolor: transparent;
|
|
}
|
|
#life_events_graph a {
|
|
color: inherit;
|
|
}
|
|
#life_events_graph [stroke="black"] {
|
|
stroke: var(--svg-fgcolor);
|
|
}
|
|
#life_events_graph text,
|
|
#life_events_graph [fill="black"] {
|
|
fill: var(--svg-fgcolor);
|
|
}
|
|
#life_events_graph [fill="white"] {
|
|
fill: var(--svg-bgcolor);
|
|
}
|
|
#life_events_graph [fill="none"] {
|
|
/* On links, setting fill will make the entire shape clickable */
|
|
fill: var(--svg-bgcolor);
|
|
}
|