mirror of https://github.com/python/cpython
no-issue: Fix documentation typos. (GH-30576)
This commit is contained in:
parent
194ecc6d44
commit
d05a66339b
|
@ -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.
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue