]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix typos in `Py_tp_base` macro documentation (GH-154150) (#154180)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Jul 2026 17:41:29 +0000 (19:41 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 17:41:29 +0000 (17:41 +0000)
(cherry picked from commit 53916ee48d2e78592898bea2e52bfeb4497e0bcd)

Co-authored-by: Michael Newman <michael.b.newman@gmail.com>
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: