From: Tim Gates Date: Mon, 8 Aug 2022 08:02:45 +0000 (+1000) Subject: docs: Fix a few typos (#94899) X-Git-Tag: v3.12.0a1~703 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32b49f613afefe351b38ce42466a856c1df07544;p=thirdparty%2FPython%2Fcpython.git docs: Fix a few typos (#94899) - overriden => overridden - calcualation => calculation Signed-off-by: Tim Gates --- diff --git a/Misc/NEWS.d/3.9.0a1.rst b/Misc/NEWS.d/3.9.0a1.rst index 45f232f1948d..eace8755a0d1 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 dceeed7702c0..a50313aea78b 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 b2df9e7fad38..da02e86f94ed 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 {