]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix copy paste error with Py_mod_state_traverse (GH-152776) (#152777)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 16:05:39 +0000 (18:05 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 16:05:39 +0000 (18:05 +0200)
(cherry picked from commit b52bc564513d720fb0c6470871c1f5c24c7ce1d8)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: hydrogen-mvm <hydrogen-mvm@users.noreply.github.com>
Doc/c-api/module.rst

index 9f68abba66bc5d655d2abea947f6b7cc3e93fb55..8e805b284e0ea4336cf703e152707e4b9807f485 100644 (file)
@@ -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