From f99e8d1c9deaaee681a4add316e8c763830dad8b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 19 May 2025 13:31:14 +0200 Subject: [PATCH] gh-133260: Remove claim that PyUnicode_InternFromString immortalizes --- 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 cdd90d05b70b36..684432da81c61f 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)