mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
This commit is contained in:
parent
eac67be948
commit
eb9957065a
33 changed files with 48 additions and 48 deletions
|
|
@ -1855,7 +1855,7 @@ UnicodeEncodeError_str(PyObject *self)
|
|||
return PyUnicode_FromString("");
|
||||
|
||||
/* Get reason and encoding as strings, which they might not be if
|
||||
they've been modified after we were contructed. */
|
||||
they've been modified after we were constructed. */
|
||||
reason_str = PyObject_Str(uself->reason);
|
||||
if (reason_str == NULL)
|
||||
goto done;
|
||||
|
|
@ -1980,7 +1980,7 @@ UnicodeDecodeError_str(PyObject *self)
|
|||
return PyUnicode_FromString("");
|
||||
|
||||
/* Get reason and encoding as strings, which they might not be if
|
||||
they've been modified after we were contructed. */
|
||||
they've been modified after we were constructed. */
|
||||
reason_str = PyObject_Str(uself->reason);
|
||||
if (reason_str == NULL)
|
||||
goto done;
|
||||
|
|
@ -2078,7 +2078,7 @@ UnicodeTranslateError_str(PyObject *self)
|
|||
return PyUnicode_FromString("");
|
||||
|
||||
/* Get reason as a string, which it might not be if it's been
|
||||
modified after we were contructed. */
|
||||
modified after we were constructed. */
|
||||
reason_str = PyObject_Str(uself->reason);
|
||||
if (reason_str == NULL)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue