Skip to content

Commit

Permalink
no-issue: Fix documentation typos. (GH-30576)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik authored Jan 20, 2022
1 parent 194ecc6 commit d05a663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit d05a663

Please sign in to comment.