]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
no-issue: Fix documentation typos. (GH-30576)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 21 Jan 2022 12:45:42 +0000 (04:45 -0800)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 12:45:42 +0000 (04:45 -0800)
(cherry picked from commit d05a66339b5e07d72d96e4c30a34cc3821bb61a2)

Co-authored-by: Piotr Fusik <piotr@fusik.info>
Doc/c-api/init_config.rst
Doc/howto/descriptor.rst

index c037f19ce64f319d0de231384259b4ce42f282a2..b8b41510b89ec869c9ace4910ebaeb8b1a34e149 100644 (file)
@@ -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.
 
index 6ce062d0fa853e0d09f15f8b44f6b37c60cd5377..f8b1e00d96fadc83848d446e0fca383330c4cd70 100644 (file)
@@ -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):