summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-17 14:09:19 (GMT)
committerGitHub <noreply@github.com>2023-11-17 14:09:19 (GMT)
commit7c50800241997f93647a57354c052de2cec25d04 (patch)
tree0b5338912bf877432d04616b9e4bba12debe34be /Doc/library/sys.rst
parentfb4cddb0cc6c9b94929f846da8e95aeec3849212 (diff)
downloadcpython-7c50800241997f93647a57354c052de2cec25d04.zip
cpython-7c50800241997f93647a57354c052de2cec25d04.tar.gz
cpython-7c50800241997f93647a57354c052de2cec25d04.tar.bz2
gh-110481, doc: Add "immortal" term to the glossary (#112180)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 4d24606..bf9aaca 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -831,7 +831,7 @@ always available.
Note that the returned value may not actually reflect how many
references to the object are actually held. For example, some
- objects are "immortal" and have a very high refcount that does not
+ objects are :term:`immortal` and have a very high refcount that does not
reflect the actual number of references. Consequently, do not rely
on the returned value to be accurate, other than a value of 0 or 1.
@@ -1182,8 +1182,8 @@ always available.
names used in Python programs are automatically interned, and the dictionaries
used to hold module, class or instance attributes have interned keys.
- Interned strings are not immortal; you must keep a reference to the return
- value of :func:`intern` around to benefit from it.
+ Interned strings are not :term:`immortal`; you must keep a reference to the
+ return value of :func:`intern` around to benefit from it.
.. function:: is_finalizing()