no-issue: Fix documentation typos. (GH-30576)

This commit is contained in:
Piotr Fusik 2022-01-20 09:17:15 +01:00 committed by GitHub
parent 194ecc6d44
commit d05a66339b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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

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