From 030fcc47fb71719f63d5c6f8c68717250ec3d5cb Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Mon, 29 Apr 2024 18:59:38 +0800 Subject: Fix typo in Doc/c-api/typeobj.rst (GH-118377) --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v0.12