Skip to content

Commit b31efe5

Browse files
committed
Add a note in the glossary.
1 parent 49b0ea8 commit b31efe5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/glossary.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ Glossary
658658
and therefore it is never deallocated while the interpreter is running.
659659
For example, :const:`True` and :const:`None` are immortal in CPython.
660660

661+
Immortal objects can be identified via :func:`sys._is_immortal`.
662+
661663
immutable
662664
An object with a fixed value. Immutable objects include numbers, strings and
663665
tuples. Such an object cannot be altered. A new object has to

0 commit comments

Comments
 (0)