summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-01 01:45:26 (GMT)
committerGitHub <noreply@github.com>2022-03-01 01:45:26 (GMT)
commit98e2ee60bd7f66be18fee3f5b9c47c473bbb160c (patch)
tree175740cce33dac889ca98ad5ef5607ba5e335248
parent1f956d11dbd952fed9b214a0c6e5fd9f91a1f4ca (diff)
downloadcpython-98e2ee60bd7f66be18fee3f5b9c47c473bbb160c.zip
cpython-98e2ee60bd7f66be18fee3f5b9c47c473bbb160c.tar.gz
cpython-98e2ee60bd7f66be18fee3f5b9c47c473bbb160c.tar.bz2
Add missing "to" to two tp_flags notes (GH-31624)
(cherry picked from commit 422fdb37172c145043d4f1276adad43ff375f0d5) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
-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 f0dd392..9349220 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1232,7 +1232,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:**
@@ -1254,7 +1254,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:**