[Python-checkins] no-issue: Fix documentation typos. (GH-30576)
corona10
webhook-mailer at python.org
Thu Jan 20 03:18:05 EST 2022
https://github.com/python/cpython/commit/d05a66339b5e07d72d96e4c30a34cc3821bb61a2
commit: d05a66339b5e07d72d96e4c30a34cc3821bb61a2
branch: main
author: Piotr Fusik <piotr at fusik.info>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-01-20T17:17:15+09:00
summary:
no-issue: Fix documentation typos. (GH-30576)
files:
M Doc/c-api/init_config.rst
M Doc/howto/descriptor.rst
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index 7c8fb7b1dee5d..922412c142302 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -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.
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index 6ce062d0fa853..f8b1e00d96fad 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -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):
More information about the Python-checkins
mailing list