Skip to content

Commit 60877e6

Browse files
committed
Address review comments: emphasize 'are' and rephrase to avoid duplicate 'Note'
1 parent 2381777 commit 60877e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/c-api/unicode.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,11 +1750,11 @@ They all return ``NULL`` or ``-1`` if an exception occurs.
17501750
:c:expr:`PyUnicode_CheckExact(*p_unicode)` must be true. If it is not,
17511751
then -- as with any other error -- the argument is left unchanged.
17521752
1753-
Note that interned strings are not immortal.
1753+
Interned strings are not :term:`immortal`.
17541754
You must keep a reference to the result to benefit from interning.
17551755
17561756
.. note::
1757-
In the free-threaded build, all interned strings are :term:`immortal`.
1757+
In the free-threaded build, all interned strings **are** :term:`immortal`.
17581758
17591759
.. c:function:: PyObject* PyUnicode_InternFromString(const char *str)
17601760

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
13271327

13281328
.. note::
13291329

1330-
In the free-threaded build, all interned strings are :term:`immortal`.
1330+
In the free-threaded build, all interned strings **are** :term:`immortal`.
13311331

13321332
.. function:: _is_gil_enabled()
13331333

0 commit comments

Comments
 (0)