Skip to content

Commit

Permalink
no-issue: Fix documentation typos. (GH-30576)
Browse files Browse the repository at this point in the history
(cherry picked from commit d05a663)

Co-authored-by: Piotr Fusik <piotr@fusik.info>
  • Loading branch information
miss-islington and pfusik committed Jan 21, 2022
1 parent f6e5972 commit 68a31db
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
Expand Up @@ -634,7 +634,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
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 68a31db

Please sign in to comment.