mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -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…
Add table
Add a link
Reference in a new issue