Skip to content

Commit b52bc56

Browse files
Fix copy paste error with Py_mod_state_traverse (GH-152776)
Co-authored-by: hydrogen-mvm <hydrogen-mvm@users.noreply.github.com>
1 parent 34503f3 commit b52bc56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ defining the module state.
488488
489489
.. versionadded:: 3.15
490490
491-
Use :c:member:`PyModuleDef.m_size` instead to support previous versions.
491+
Use :c:member:`PyModuleDef.m_traverse` instead to support previous versions.
492492
493493
.. c:macro:: Py_mod_state_clear
494494

0 commit comments

Comments
 (0)