Skip to content

Commit dbd3df6

Browse files
committed
Added some more info on PyModule_GetState doc.
1 parent 4f3cab9 commit dbd3df6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Doc/c-api/module.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ Module Objects
9393
.. c:function:: void* PyModule_GetState(PyObject *module)
9494
9595
Return the "state" of the module, that is, a pointer to the block of memory
96-
allocated at module creation time, or ``NULL``. See
96+
allocated at module creation time, or ``NULL``.
97+
98+
Takes a pointer to a modlue as an argument.
99+
100+
See
97101
:c:member:`PyModuleDef.m_size`.
98102
99103

0 commit comments

Comments
 (0)