From: Xie Yanbo Date: Mon, 29 Apr 2024 10:59:38 +0000 (+0800) Subject: Fix typo in Doc/c-api/typeobj.rst (GH-118377) X-Git-Tag: v3.13.0b1~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=030fcc47fb71719f63d5c6f8c68717250ec3d5cb;p=thirdparty%2FPython%2Fcpython.git Fix typo in Doc/c-api/typeobj.rst (GH-118377) --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 1105b9433250..a6a2c437ea4e 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));