summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:**