]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing "to" to two tp_flags notes (GH-31624)
authorBrandt Bucher <brandtbucher@microsoft.com>
Tue, 1 Mar 2022 01:20:14 +0000 (17:20 -0800)
committerGitHub <noreply@github.com>
Tue, 1 Mar 2022 01:20:14 +0000 (17:20 -0800)
Doc/c-api/typeobj.rst

index 3630990368cdf4fcc91d322412a516bd0afa30ea..4a54139c5d498b29c38b0030d49682e92cdbcac3 100644 (file)
@@ -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:**