mirror of https://github.com/python/cpython
docs: Fix a few typos (#94899)
- overriden => overridden - calcualation => calculation Signed-off-by: Tim Gates <tim.gates@iress.com>
This commit is contained in:
parent
f83b0cabeb
commit
32b49f613a
|
@ -5769,4 +5769,4 @@ Convert posixmodule.c statically allocated types ``DirEntryType`` and
|
||||||
.. section: C API
|
.. section: C API
|
||||||
|
|
||||||
Use singular/plural noun in error message when instantiating an abstract
|
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).
|
||||||
|
|
|
@ -422,7 +422,7 @@ if not real_executable_dir:
|
||||||
# ******************************************************************************
|
# ******************************************************************************
|
||||||
|
|
||||||
# The contents of an optional ._pth file are used to totally override
|
# 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)
|
# no-site (unless explicitly requested)
|
||||||
pth = None
|
pth = None
|
||||||
pth_dir = None
|
pth_dir = None
|
||||||
|
|
|
@ -5460,7 +5460,7 @@ object_getstate(PyObject *obj, int required)
|
||||||
PyCFunction_GET_SELF(getstate) == obj &&
|
PyCFunction_GET_SELF(getstate) == obj &&
|
||||||
PyCFunction_GET_FUNCTION(getstate) == object___getstate__)
|
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);
|
state = object_getstate_default(obj, required);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue