From: Petr Viktorin Date: Thu, 29 May 2025 13:36:59 +0000 (+0200) Subject: gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213) X-Git-Tag: v3.15.0a1~1461 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4109a9c6b33faa0032ffc95d96cd0db482af3ce2;p=thirdparty%2FPython%2Fcpython.git gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213) --- diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index cdd90d05b70b..684432da81c6 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)