File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ APIs:
749749 The string must not have been “used” yet.
750750 See :c:func: `PyUnicode_New ` for details.
751751
752- Return the number of written character , or return ``-1 `` and raise an
752+ Return the number of written characters , or return ``-1 `` and raise an
753753 exception on error.
754754
755755 .. versionadded :: 3.3
@@ -1161,7 +1161,7 @@ These are the UTF-8 codec APIs:
11611161 .. versionadded:: 3.3
11621162
11631163 .. versionchanged:: 3.7
1164- The return type is now ``const char *`` rather of ``char *``.
1164+ The return type is now ``const char *`` rather than ``char *``.
11651165
11661166 .. versionchanged:: 3.10
11671167 This function is a part of the :ref:`limited API <limited-c-api>`.
@@ -1183,7 +1183,7 @@ These are the UTF-8 codec APIs:
11831183 .. versionadded :: 3.3
11841184
11851185 .. versionchanged :: 3.7
1186- The return type is now ``const char * `` rather of ``char * ``.
1186+ The return type is now ``const char * `` rather than ``char * ``.
11871187
11881188
11891189UTF-32 Codecs
You can’t perform that action at this time.
0 commit comments