File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,15 +122,15 @@ There are only a few functions special to module objects.
122122 :c:func: `PyState_AddModule ` beforehand. In case the corresponding module object is not
123123 found or has not been attached to the interpreter state yet, it returns NULL.
124124
125- .. c :function :: int PyState_AddModule (PyModuleDef * def, PyObject *module )
125+ .. c :function :: int PyState_AddModule (PyObject * module, PyModuleDef *def )
126126
127127 Attaches the module object passed to the function to the interpreter state. This allows
128128 the module object to be accessible via
129129 :c:func: `PyState_FindModule `.
130130
131131 .. versionadded :: 3.3
132132
133- .. c :function :: int PyState_RemoveModule (PyModuleDef *def, PyObject *module )
133+ .. c :function :: int PyState_RemoveModule (PyModuleDef *def)
134134
135135 Removes the module object created from *def * from the interpreter state.
136136
You can’t perform that action at this time.
0 commit comments