diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
commit | e26da7c03a714faa115fe6b708ef0730119aa4b3 (patch) | |
tree | 26d6a9584ddde0d84f1011fe87662b3b84a39428 /Objects | |
parent | 1b207c55a446ab8b8bae2efc8407ee130ba62012 (diff) | |
download | cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.zip cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.gz cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.bz2 |
Issue #27171: Fix typos in documentation, comments, and test function names
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/exceptions.c | 2 | ||||
-rw-r--r-- | Objects/unicodeobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index d03aada..aaff0bc 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -876,7 +876,7 @@ oserror_use_init(PyTypeObject *type) solution, given __new__ takes a variable number of arguments, is to defer arg parsing and initialization to __init__. - But when __new__ is overriden as well, it should call our __new__ + But when __new__ is overridden as well, it should call our __new__ with the right arguments. (see http://bugs.python.org/issue12555#msg148829 ) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b146da9..f11a082 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9323,7 +9323,7 @@ tailmatch(PyObject *self, PyUnicode_GET_LENGTH(substring) * PyUnicode_KIND(substring)); } - /* otherwise we have to compare each character by first accesing it */ + /* otherwise we have to compare each character by first accessing it */ else { /* We do not need to compare 0 and len(substring)-1 because the if statement above ensured already that they are equal |