From: Petr Viktorin Date: Wed, 1 Jul 2026 12:22:34 +0000 (+0200) Subject: Fix copy paste error with Py_mod_state_traverse (GH-152776) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b52bc564513d720fb0c6470871c1f5c24c7ce1d8;p=thirdparty%2FPython%2Fcpython.git Fix copy paste error with Py_mod_state_traverse (GH-152776) Co-authored-by: hydrogen-mvm --- diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 435583e05469..31df4451f15e 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