[3.15] Fix typos in `Py_tp_base` macro documentation (GH-154150) (#154180)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/9bb127132d0401027d579b4526a01ded96854ddf
commit: 9bb127132d0401027d579b4526a01ded96854ddf
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-07-19T17:41:29Z
summary:

[3.15] Fix typos in `Py_tp_base` macro documentation (GH-154150) (#154180)

(cherry picked from commit 53916ee48d2e78592898bea2e52bfeb4497e0bcd)

Co-authored-by: Michael Newman <[email protected]>

files:
M Doc/c-api/type.rst

diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst
index 6b68c0d085589a..99a7ed8b1cb7b8 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:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.