summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-03-01 01:20:14 (GMT)
committerGitHub <noreply@github.com>2022-03-01 01:20:14 (GMT)
commit422fdb37172c145043d4f1276adad43ff375f0d5 (patch)
treedc491a37a034101297d59b8d29fc03110949b0e0
parent7d611b4cabaf7925f5f94daddf711d54aeae2cf9 (diff)
downloadcpython-422fdb37172c145043d4f1276adad43ff375f0d5.zip
cpython-422fdb37172c145043d4f1276adad43ff375f0d5.tar.gz
cpython-422fdb37172c145043d4f1276adad43ff375f0d5.tar.bz2
Add missing "to" to two tp_flags notes (GH-31624)
-rw-r--r--Doc/c-api/typeobj.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 3630990..4a54139 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1233,7 +1233,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
.. note::
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
- mutually exclusive; it is an error enable both flags simultaneously.
+ mutually exclusive; it is an error to enable both flags simultaneously.
**Inheritance:**
@@ -1255,7 +1255,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
.. note::
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
- mutually exclusive; it is an error enable both flags simultaneously.
+ mutually exclusive; it is an error to enable both flags simultaneously.
**Inheritance:**