https://github.com/python/cpython/commit/4109a9c6b33faa0032ffc95d96cd0db482af3ce2
commit: 4109a9c6b33faa0032ffc95d96cd0db482af3ce2
branch: main
author: Petr Viktorin <[email protected]>
committer: encukou <[email protected]>
date: 2025-05-29T15:36:59+02:00
summary:
gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213)
files:
M Doc/c-api/unicode.rst
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index cdd90d05b70b36..684432da81c61f 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1726,10 +1726,6 @@ They all return ``NULL`` or ``-1`` if an exception
occurs.
from user input, prefer calling :c:func:`PyUnicode_FromString` and
:c:func:`PyUnicode_InternInPlace` directly.
- .. impl-detail::
-
- Strings interned this way are made :term:`immortal`.
-
.. c:function:: unsigned int PyUnicode_CHECK_INTERNED(PyObject *str)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]