summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXie Yanbo <xieyanbo@gmail.com>2024-04-29 10:59:38 (GMT)
committerGitHub <noreply@github.com>2024-04-29 10:59:38 (GMT)
commit030fcc47fb71719f63d5c6f8c68717250ec3d5cb (patch)
tree446e3cb7ef84c44e8c29bb1e223c918afa906e38
parent375c94c75dd9eaefaddd89a7f704a031441af286 (diff)
downloadcpython-030fcc47fb71719f63d5c6f8c68717250ec3d5cb.zip
cpython-030fcc47fb71719f63d5c6f8c68717250ec3d5cb.tar.gz
cpython-030fcc47fb71719f63d5c6f8c68717250ec3d5cb.tar.bz2
Fix typo in Doc/c-api/typeobj.rst (GH-118377)
-rw-r--r--Doc/c-api/typeobj.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 1105b94..a6a2c43 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1381,7 +1381,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
Py_VISIT(Py_TYPE(self));
It is only needed since Python 3.9. To support Python 3.8 and older, this
- line must be conditionnal::
+ line must be conditional::
#if PY_VERSION_HEX >= 0x03090000
Py_VISIT(Py_TYPE(self));