https://github.com/python/cpython/commit/b52bc564513d720fb0c6470871c1f5c24c7ce1d8
commit: b52bc564513d720fb0c6470871c1f5c24c7ce1d8
branch: main
author: Petr Viktorin <[email protected]>
committer: encukou <[email protected]>
date: 2026-07-01T14:22:34+02:00
summary:

Fix copy paste error with Py_mod_state_traverse (GH-152776)

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 435583e05469c6..31df4451f15e66 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