https://github.com/python/cpython/commit/ad5e591974b2978c57fa9be53f9baec2f7fc9b54
commit: ad5e591974b2978c57fa9be53f9baec2f7fc9b54
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2026-07-01T18:05:39+02:00
summary:

[3.15] Fix copy paste error with Py_mod_state_traverse (GH-152776) (#152777)

(cherry picked from commit b52bc564513d720fb0c6470871c1f5c24c7ce1d8)

Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: hydrogen-mvm <[email protected]>

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

diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst
index 9f68abba66bc5d6..8e805b284e0ea43 100644
--- a/Doc/c-api/module.rst
+++ b/Doc/c-api/module.rst
@@ -488,7 +488,7 @@ defining the module state.
 
    .. versionadded:: 3.15
 
-      Use :c:member:`PyModuleDef.m_size` instead to support previous versions.
+      Use :c:member:`PyModuleDef.m_traverse` instead to support previous 
versions.
 
 .. c:macro:: Py_mod_state_clear
 

_______________________________________________
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