[Python-checkins] Add missing "to" to two tp_flags notes (GH-31624)

miss-islington webhook-mailer at python.org
Mon Feb 28 20:45:36 EST 2022


https://github.com/python/cpython/commit/98e2ee60bd7f66be18fee3f5b9c47c473bbb160c
commit: 98e2ee60bd7f66be18fee3f5b9c47c473bbb160c
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-02-28T17:45:26-08:00
summary:

Add missing "to" to two tp_flags notes (GH-31624)

(cherry picked from commit 422fdb37172c145043d4f1276adad43ff375f0d5)

Co-authored-by: Brandt Bucher <brandtbucher at microsoft.com>

files:
M Doc/c-api/typeobj.rst

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index f0dd3923e8085..93492200ea44e 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -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:**
 



More information about the Python-checkins mailing list