From 53916ee48d2e78592898bea2e52bfeb4497e0bcd Mon Sep 17 00:00:00 2001 From: Michael Newman Date: Sun, 19 Jul 2026 13:33:57 -0400 Subject: [PATCH] Fix typos in `Py_tp_base` macro documentation (#154150) --- Doc/c-api/type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 6b68c0d08558..99a7ed8b1cb7 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -699,7 +699,7 @@ but need extra remarks for use as slots: .. soft-deprecated:: 3.15 - When not targetting older Python versions, pefer :c:macro:`!Py_tp_bases`. + When not targeting older Python versions, prefer :c:macro:`!Py_tp_bases`. The following slots do not correspond to public fields in the underlying structures: -- 2.47.3