Skip to content

Commit f99e8d1

Browse files
committed
pythongh-133260: Remove claim that PyUnicode_InternFromString immortalizes
1 parent 84914ad commit f99e8d1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/c-api/unicode.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,10 +1726,6 @@ They all return ``NULL`` or ``-1`` if an exception occurs.
17261726
from user input, prefer calling :c:func:`PyUnicode_FromString` and
17271727
:c:func:`PyUnicode_InternInPlace` directly.
17281728
1729-
.. impl-detail::
1730-
1731-
Strings interned this way are made :term:`immortal`.
1732-
17331729
17341730
.. c:function:: unsigned int PyUnicode_CHECK_INTERNED(PyObject *str)
17351731

0 commit comments

Comments
 (0)