From 32b49f613afefe351b38ce42466a856c1df07544 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 8 Aug 2022 18:02:45 +1000 Subject: [PATCH] docs: Fix a few typos (#94899) - overriden => overridden - calcualation => calculation Signed-off-by: Tim Gates --- Misc/NEWS.d/3.9.0a1.rst | 2 +- Modules/getpath.py | 2 +- Objects/typeobject.c | 2 +- 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 45f232f1948..eace8755a0d 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 dceeed7702c..a50313aea78 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 b2df9e7fad3..da02e86f94e 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 {