]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
no-issue: Fix documentation typos. (GH-30576)
authorPiotr Fusik <piotr@fusik.info>
Thu, 20 Jan 2022 08:17:15 +0000 (09:17 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Jan 2022 08:17:15 +0000 (17:17 +0900)
Doc/c-api/init_config.rst
Doc/howto/descriptor.rst

index 7c8fb7b1dee5dcde641ca3009831ada395419593..922412c142302009277ceac616297af7f579de9d 100644 (file)
@@ -656,7 +656,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):