Skip to content

Commit 98e2ee6

Browse files
Add missing "to" to two tp_flags notes (GH-31624)
(cherry picked from commit 422fdb3) Co-authored-by: Brandt Bucher <[email protected]>
1 parent 1f956d1 commit 98e2ee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/typeobj.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
12321232
.. note::
12331233

12341234
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
1235-
mutually exclusive; it is an error enable both flags simultaneously.
1235+
mutually exclusive; it is an error to enable both flags simultaneously.
12361236

12371237
**Inheritance:**
12381238

@@ -1254,7 +1254,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
12541254
.. note::
12551255

12561256
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
1257-
mutually exclusive; it is an error enable both flags simultaneously.
1257+
mutually exclusive; it is an error to enable both flags simultaneously.
12581258

12591259
**Inheritance:**
12601260

0 commit comments

Comments
 (0)