]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
docs: Fix a few typos (#94899)
authorTim Gates <tim.gates@iress.com>
Mon, 8 Aug 2022 08:02:45 +0000 (18:02 +1000)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2022 08:02:45 +0000 (10:02 +0200)
- overriden => overridden
- calcualation => calculation

Signed-off-by: Tim Gates <tim.gates@iress.com>
Misc/NEWS.d/3.9.0a1.rst
Modules/getpath.py
Objects/typeobject.c

index 45f232f1948d5dfea9c10341464a23b7b63bc3f6..eace8755a0d171f3d5b15599527fc1e6845e7081 100644 (file)
@@ -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).
index dceeed7702c0bef1124e6575b9f230b1b2a925ba..a50313aea78b4f06ecee65725bb144232b8cf5dd 100644 (file)
@@ -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
index b2df9e7fad383482379f875bf9671d59aad4a4c5..da02e86f94ed2cbb22e5513600bcf3b9250e9bcd 100644 (file)
@@ -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 {