summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-21 12:45:42 (GMT)
committerGitHub <noreply@github.com>2022-01-21 12:45:42 (GMT)
commit68a31dba975419b7b4432fa31730e5ca67071d9f (patch)
tree6352a6a87d00e8f3fc8260db948cdd7d97bb79bd
parentf6e5972fa984c10d47694973db1c91c6486d654a (diff)
downloadcpython-68a31dba975419b7b4432fa31730e5ca67071d9f.zip
cpython-68a31dba975419b7b4432fa31730e5ca67071d9f.tar.gz
cpython-68a31dba975419b7b4432fa31730e5ca67071d9f.tar.bz2
no-issue: Fix documentation typos. (GH-30576)
(cherry picked from commit d05a66339b5e07d72d96e4c30a34cc3821bb61a2) Co-authored-by: Piotr Fusik <piotr@fusik.info>
-rw-r--r--Doc/c-api/init_config.rst2
-rw-r--r--Doc/howto/descriptor.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index c037f19..b8b4151 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -634,7 +634,7 @@ PyConfig
.. c:member:: int dump_refs
- Dump Python refererences?
+ Dump Python references?
If non-zero, dump all objects which are still alive at exit.
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index 6ce062d..f8b1e00 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -1544,7 +1544,7 @@ variables:
'Simulate how the type metaclass adds member objects for slots'
def __new__(mcls, clsname, bases, mapping):
- 'Emuluate type_new() in Objects/typeobject.c'
+ 'Emulate type_new() in Objects/typeobject.c'
# type_new() calls PyTypeReady() which calls add_methods()
slot_names = mapping.get('slot_names', [])
for offset, name in enumerate(slot_names):