mirror of
https://github.com/python/cpython.git
synced 2026-07-07 18:50:03 -04:00
gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user