Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion Doc/howto/descriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down