File tree 1 file changed +2
-2
lines changed 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
388
388
389
389
.. c:function:: PyObject * PyModule_FromDefAndSpec(PyModuleDef *def, PyObject *spec)
390
390
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
392
392
ModuleSpec *spec *. This behaves like :c:func: `PyModule_FromDefAndSpec2 `
393
393
with *module_api_version * set to :const: `PYTHON_API_VERSION `.
394
394
395
395
.. versionadded :: 3.5
396
396
397
397
.. c :function :: PyObject * PyModule_FromDefAndSpec2 (PyModuleDef *def, PyObject *spec, int module_api_version)
398
398
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
400
400
ModuleSpec *spec *, assuming the API version *module_api_version *.
401
401
If that version does not match the version of the running interpreter,
402
402
a :exc: `RuntimeWarning ` is emitted.
You can’t perform that action at this time.
0 commit comments