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

This commit is contained in:
Brandt Bucher 2022-02-28 17:20:14 -08:00 committed by GitHub
parent 7d611b4cab
commit 422fdb3717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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:**