Skip to content

Commit 83c2d7f

Browse files
authored
Fix typo in Py_mod_state_traverse docs
1 parent 7d5e2dd commit 83c2d7f

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)