summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS.d/3.9.0a1.rst2
-rw-r--r--Modules/getpath.py2
-rw-r--r--Objects/typeobject.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS.d/3.9.0a1.rst b/Misc/NEWS.d/3.9.0a1.rst
index 45f232f..eace875 100644
--- a/Misc/NEWS.d/3.9.0a1.rst
+++ b/Misc/NEWS.d/3.9.0a1.rst
@@ -5769,4 +5769,4 @@ Convert posixmodule.c statically allocated types ``DirEntryType`` and
.. section: C API
Use singular/plural noun in error message when instantiating an abstract
-class with non-overriden abstract method(s).
+class with non-overridden abstract method(s).
diff --git a/Modules/getpath.py b/Modules/getpath.py
index dceeed7..a50313a 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -422,7 +422,7 @@ if not real_executable_dir:
# ******************************************************************************
# The contents of an optional ._pth file are used to totally override
-# sys.path calcualation. Its presence also implies isolated mode and
+# sys.path calculation. Its presence also implies isolated mode and
# no-site (unless explicitly requested)
pth = None
pth_dir = None
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index b2df9e7..da02e86 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -5460,7 +5460,7 @@ object_getstate(PyObject *obj, int required)
PyCFunction_GET_SELF(getstate) == obj &&
PyCFunction_GET_FUNCTION(getstate) == object___getstate__)
{
- /* If __getstate__ is not overriden pass the required argument. */
+ /* If __getstate__ is not overridden pass the required argument. */
state = object_getstate_default(obj, required);
}
else {