Skip to content

Commit 422fdb3

Browse files
authored
Add missing "to" to two tp_flags notes (GH-31624)
1 parent 7d611b4 commit 422fdb3

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
@@ -1233,7 +1233,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
12331233
.. note::
12341234

12351235
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
1236-
mutually exclusive; it is an error enable both flags simultaneously.
1236+
mutually exclusive; it is an error to enable both flags simultaneously.
12371237

12381238
**Inheritance:**
12391239

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

12571257
:const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are
1258-
mutually exclusive; it is an error enable both flags simultaneously.
1258+
mutually exclusive; it is an error to enable both flags simultaneously.
12591259

12601260
**Inheritance:**
12611261

0 commit comments

Comments
 (0)