| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e1857d9 commit 32b0f02
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -122,15 +122,15 @@ There are only a few functions special to module objects. | |||
| 122 | 122 | :c:func:`PyState_AddModule` beforehand. In case the corresponding module object is not | |
| 123 | 123 | found or has not been attached to the interpreter state yet, it returns NULL. | |
| 124 | 124 | ||
| 125 | - .. c:function:: int PyState_AddModule(PyModuleDef *def, PyObject *module) | ||
| 125 | + .. c:function:: int PyState_AddModule(PyObject *module, PyModuleDef *def) | ||
| 126 | 126 | ||
| 127 | 127 | Attaches the module object passed to the function to the interpreter state. This allows | |
| 128 | 128 | the module object to be accessible via | |
| 129 | 129 | :c:func:`PyState_FindModule`. | |
| 130 | 130 | ||
| 131 | 131 | .. versionadded:: 3.3 | |
| 132 | 132 | ||
| 133 | - .. c:function:: int PyState_RemoveModule(PyModuleDef *def, PyObject *module) | ||
| 133 | + .. c:function:: int PyState_RemoveModule(PyModuleDef *def) | ||
| 134 | 134 | ||
| 135 | 135 | Removes the module object created from *def* from the interpreter state. | |
| 136 | 136 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments