File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -388,15 +388,15 @@ objects dynamically. Note that both ``PyModule_FromDefAndSpec`` and
388388
389389.. c:function:: PyObject * PyModule_FromDefAndSpec(PyModuleDef *def, PyObject *spec)
390390
391- Create a new module object, given the definition in *module * and the
391+ Create a new module object, given the definition in *def * and the
392392 ModuleSpec *spec *. This behaves like :c:func: `PyModule_FromDefAndSpec2 `
393393 with *module_api_version * set to :const: `PYTHON_API_VERSION `.
394394
395395 .. versionadded :: 3.5
396396
397397.. c :function :: PyObject * PyModule_FromDefAndSpec2 (PyModuleDef *def, PyObject *spec, int module_api_version)
398398
399- Create a new module object, given the definition in *module * and the
399+ Create a new module object, given the definition in *def * and the
400400 ModuleSpec *spec *, assuming the API version *module_api_version *.
401401 If that version does not match the version of the running interpreter,
402402 a :exc: `RuntimeWarning ` is emitted.
You can’t perform that action at this time.
0 commit comments