]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing "to" to two tp_flags notes (GH-31624)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Mar 2022 01:45:26 +0000 (17:45 -0800)
committerGitHub <noreply@github.com>
Tue, 1 Mar 2022 01:45:26 +0000 (17:45 -0800)
(cherry picked from commit 422fdb37172c145043d4f1276adad43ff375f0d5)

Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
Doc/c-api/typeobj.rst

index f0dd3923e8085a8873ce46e9ad2f5f50b16d749a..93492200ea44e7da5ae01a3c1e8a82973d99a9fc 100644 (file)
@@ -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:**