File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -590,14 +590,12 @@ Glossary
590
590
which ships with the standard distribution of Python.
591
591
592
592
immortal
593
- If an object is immortal, its reference count is never modified, and
594
- therefore it is never deallocated .
593
+ * Immortal objects * are a CPython implementation detail introduced
594
+ in :pep: ` 683 ` .
595
595
596
- Built-in strings and singletons are immortal objects. For example,
597
- :const: `True ` and :const: `None ` singletons are immortal.
598
-
599
- See `PEP 683 – Immortal Objects, Using a Fixed Refcount
600
- <https://peps.python.org/pep-0683/> `_ for more information.
596
+ If an object is immortal, its :term: `reference count ` is never modified,
597
+ and therefore it is never deallocated while the interpreter is running.
598
+ For example, :const: `True ` and :const: `None ` are immortal in CPython.
601
599
602
600
immutable
603
601
An object with a fixed value. Immutable objects include numbers, strings and
You can’t perform that action at this time.
0 commit comments