]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos in `Py_tp_base` macro documentation (#154150)
authorMichael Newman <michael.b.newman@gmail.com>
Sun, 19 Jul 2026 17:33:57 +0000 (13:33 -0400)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 17:33:57 +0000 (19:33 +0200)
Doc/c-api/type.rst

index 6b68c0d085589a16268366189a36ee9710681899..99a7ed8b1cb7b8e6ef1caef3c39d334b7ef9409e 100644 (file)
@@ -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: