https://github.com/python/cpython/commit/53916ee48d2e78592898bea2e52bfeb4497e0bcd
commit: 53916ee48d2e78592898bea2e52bfeb4497e0bcd
branch: main
author: Michael Newman <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-07-19T19:33:57+02:00
summary:

Fix typos in `Py_tp_base` macro documentation (#154150)

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]

Reply via email to