From 17f74b4791c2c11940577a32f2685c8ebe9cf225 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 29 May 2025 15:36:59 +0200 Subject: [PATCH] gh-133260: Remove claim that PyUnicode_InternFromString immortalizes (GH-134213) (cherry picked from commit 4109a9c6b33faa0032ffc95d96cd0db482af3ce2) Co-authored-by: Petr Viktorin --- Doc/c-api/unicode.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 9e679d080fb5f5..8378f29227a374 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -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`. -