summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 (GMT)
commiteb9957065acaafbf3d8ebee4770ecb13ea0c07c0 (patch)
treea5caf4a201daa6a5094eb18f605cb2b4b7bc91fd /Objects/exceptions.c
parenteac67be948e972dc12b7b4abfa83b09becf6422c (diff)
downloadcpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.zip
cpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.tar.gz
cpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.tar.bz2
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index aaff0bc..c7cae2e 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -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;