mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
no-issue: Fix documentation typos. (GH-30576)
This commit is contained in:
parent
194ecc6d44
commit
d05a66339b
2 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ PyConfig
|
||||||
|
|
||||||
.. c:member:: int dump_refs
|
.. c:member:: int dump_refs
|
||||||
|
|
||||||
Dump Python refererences?
|
Dump Python references?
|
||||||
|
|
||||||
If non-zero, dump all objects which are still alive at exit.
|
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'
|
'Simulate how the type metaclass adds member objects for slots'
|
||||||
|
|
||||||
def __new__(mcls, clsname, bases, mapping):
|
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()
|
# type_new() calls PyTypeReady() which calls add_methods()
|
||||||
slot_names = mapping.get('slot_names', [])
|
slot_names = mapping.get('slot_names', [])
|
||||||
for offset, name in enumerate(slot_names):
|
for offset, name in enumerate(slot_names):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue