File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ APIs:
762762 The string must not have been “used” yet.
763763 See :c:func: `PyUnicode_New ` for details.
764764
765- Return the number of written character , or return ``-1 `` and raise an
765+ Return the number of written characters , or return ``-1 `` and raise an
766766 exception on error.
767767
768768 .. versionadded :: 3.3
@@ -1174,7 +1174,7 @@ These are the UTF-8 codec APIs:
11741174 .. versionadded:: 3.3
11751175
11761176 .. versionchanged:: 3.7
1177- The return type is now ``const char *`` rather of ``char *``.
1177+ The return type is now ``const char *`` rather than ``char *``.
11781178
11791179 .. versionchanged:: 3.10
11801180 This function is a part of the :ref:`limited API <limited-c-api>`.
@@ -1196,7 +1196,7 @@ These are the UTF-8 codec APIs:
11961196 .. versionadded :: 3.3
11971197
11981198 .. versionchanged :: 3.7
1199- The return type is now ``const char * `` rather of ``char * ``.
1199+ The return type is now ``const char * `` rather than ``char * ``.
12001200
12011201
12021202UTF-32 Codecs
You can’t perform that action at this time.
0 commit comments