Skip to content

Commit 1af74fa

Browse files
authored
[3.13] gh-120426: Reword the glossary term "immortal" (GH-123191) (#123491)
gh-120426: Reword the glossary term "immortal" (GH-123191) Reword the glossary term "immortal", mark it as an implementation detail (cherry picked from commit 6754566)
1 parent ab29053 commit 1af74fa

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Doc/glossary.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -590,14 +590,12 @@ Glossary
590590
which ships with the standard distribution of Python.
591591

592592
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`.
595595

596-
Built-in strings and singletons are immortal objects. For example,
597-
:const:`True` and :const:`None` singletons are immmortal.
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.
601599

602600
immutable
603601
An object with a fixed value. Immutable objects include numbers, strings and

0 commit comments

Comments
 (0)