]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-13421...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 May 2025 13:44:00 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Thu, 29 May 2025 13:44:00 +0000 (13:44 +0000)
(cherry picked from commit 4109a9c6b33faa0032ffc95d96cd0db482af3ce2)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/unicode.rst

index 9e679d080fb5f5133a72fc801eeb8367d78fc620..8378f29227a3742f828c28bc855516de9a2e704d 100644 (file)
@@ -1643,8 +1643,4 @@ 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`.
-