Skip to content

Commit 7b69414

Browse files
committed
Rephrase What's New/Changelog entry
1 parent 693d9e1 commit 7b69414

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎Doc/whatsnew/3.16.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ Deprecated C APIs
12241224
:c:func:`PyModule_GetFilenameObject` instead is still recommended.
12251225
(Contributed by Victor Stinner in :gh:`154757`.)
12261226

1227-
* Soft deprecate functions modifying Unicode strings in-place:
1227+
* Soft deprecate functions modifying Unicode strings:
12281228
:c:func:`PyUnicode_New`, :c:func:`PyUnicode_CopyCharacters`,
12291229
:c:func:`PyUnicode_Fill`, :c:func:`PyUnicode_Resize`,
12301230
:c:func:`PyUnicode_WRITE` and :c:func:`PyUnicode_WriteChar`.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Soft deprecate :c:func:`PyUnicode_New`, :c:func:`PyUnicode_CopyCharacters`,
1+
Soft deprecate functions modifying Unicode strings:
2+
:c:func:`PyUnicode_New`, :c:func:`PyUnicode_CopyCharacters`,
23
:c:func:`PyUnicode_Fill`, :c:func:`PyUnicode_Resize`,
3-
:c:func:`PyUnicode_WRITE` and :c:func:`PyUnicode_WriteChar` functions. Use
4+
:c:func:`PyUnicode_WRITE` and :c:func:`PyUnicode_WriteChar`. Use
45
the :c:type:`PyUnicodeWriter` API instead. Patch by Victor Stinner.

0 commit comments

Comments
 (0)