docs: Fix a few typos (#94899)

- overriden => overridden
- calcualation => calculation

Signed-off-by: Tim Gates <tim.gates@iress.com>
This commit is contained in:
Tim Gates 2022-08-08 18:02:45 +10:00 committed by GitHub
parent f83b0cabeb
commit 32b49f613a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View 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).

View 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

View 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 {