summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2022-08-08 08:02:45 (GMT)
committerGitHub <noreply@github.com>2022-08-08 08:02:45 (GMT)
commit32b49f613afefe351b38ce42466a856c1df07544 (patch)
treed712364a76b87b4352ee845babb8a0b07c8aa827
parentf83b0cabeb101599e6b55e6a1c972d5b8cae18b2 (diff)
downloadcpython-32b49f613afefe351b38ce42466a856c1df07544.zip
cpython-32b49f613afefe351b38ce42466a856c1df07544.tar.gz
cpython-32b49f613afefe351b38ce42466a856c1df07544.tar.bz2
docs: Fix a few typos (#94899)
- overriden => overridden - calcualation => calculation Signed-off-by: Tim Gates <tim.gates@iress.com>
-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 {