mirror of
https://github.com/python/cpython.git
synced 2026-06-23 09:31:13 +00:00
[3.15] Fix minor typos in unicode.rst (GH-149587) (#149620)
Fix minor typos in unicode.rst (GH-149587)
(cherry picked from commit 4e97ff3351)
Co-authored-by: Manoj K M <manojkmdev24@gmail.com>
This commit is contained in:
parent
212e996cba
commit
f488c7d45f
1 changed files with 3 additions and 3 deletions
|
|
@ -762,7 +762,7 @@ APIs:
|
|||
The string must not have been “used” yet.
|
||||
See :c:func:`PyUnicode_New` for details.
|
||||
|
||||
Return the number of written character, or return ``-1`` and raise an
|
||||
Return the number of written characters, or return ``-1`` and raise an
|
||||
exception on error.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
|
@ -1174,7 +1174,7 @@ These are the UTF-8 codec APIs:
|
|||
.. versionadded:: 3.3
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
The return type is now ``const char *`` rather of ``char *``.
|
||||
The return type is now ``const char *`` rather than ``char *``.
|
||||
|
||||
.. versionchanged:: 3.10
|
||||
This function is a part of the :ref:`limited API <limited-c-api>`.
|
||||
|
|
@ -1196,7 +1196,7 @@ These are the UTF-8 codec APIs:
|
|||
.. versionadded:: 3.3
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
The return type is now ``const char *`` rather of ``char *``.
|
||||
The return type is now ``const char *`` rather than ``char *``.
|
||||
|
||||
|
||||
UTF-32 Codecs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue