Commit 648b5900 authored by Ezio Melotti's avatar Ezio Melotti

#17363: merge with 3.3.

parents cf77da9f 32b0f020
......@@ -122,7 +122,7 @@ There are only a few functions special to module objects.
:c:func:`PyState_AddModule` beforehand. In case the corresponding module object is not
found or has not been attached to the interpreter state yet, it returns NULL.
.. c:function:: int PyState_AddModule(PyModuleDef *def, PyObject *module)
.. c:function:: int PyState_AddModule(PyObject *module, PyModuleDef *def)
Attaches the module object passed to the function to the interpreter state. This allows
the module object to be accessible via
......@@ -130,7 +130,7 @@ There are only a few functions special to module objects.
.. versionadded:: 3.3
.. c:function:: int PyState_RemoveModule(PyModuleDef *def, PyObject *module)
.. c:function:: int PyState_RemoveModule(PyModuleDef *def)
Removes the module object created from *def* from the interpreter state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment