Issue #27171: Fix typos in documentation, comments, and test function names
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 @@
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 @@
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