mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213)
This commit is contained in:
parent
cafbcd666a
commit
4109a9c6b3
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue