]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix copy paste error with Py_mod_state_traverse (GH-152776)
authorPetr Viktorin <encukou@gmail.com>
Wed, 1 Jul 2026 12:22:34 +0000 (14:22 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 12:22:34 +0000 (14:22 +0200)
Co-authored-by: hydrogen-mvm <hydrogen-mvm@users.noreply.github.com>
Doc/c-api/module.rst

index 435583e05469c684b6ee217f0515acb75a0cec22..31df4451f15e66377d5fc722afab0faa89768ebf 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