Skip to content

Commit 7ef7737

Browse files
committed
Fixup clinic issue
1 parent 9c6757c commit 7ef7737

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Python/clinic/import.c.h

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/import.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5513,16 +5513,16 @@ publish_lazy_imports_on_module(PyThreadState *tstate, PyObject *lazy_submodules,
55135513

55145514
/*[clinic input]
55155515
_imp._set_lazy_attributes
5516-
module: object
5516+
modobj: object
55175517
name: unicode
55185518
/
55195519
Sets attributes to lazy submodules on the module, as side effects.
55205520
[clinic start generated code]*/
55215521

55225522
static PyObject *
5523-
_imp__set_lazy_attributes_impl(PyObject *sys_module, PyObject *module,
5523+
_imp__set_lazy_attributes_impl(PyObject *module, PyObject *modobj,
55245524
PyObject *name)
5525-
/*[clinic end generated code: output=bd34f2e16f215c29 input=d959fbfa236f4d59]*/
5525+
/*[clinic end generated code: output=3369bb3242b1f043 input=38ea6f30956dd7d6]*/
55265526
{
55275527
PyThreadState *tstate = _PyThreadState_GET();
55285528
PyObject *module_dict = NULL;
@@ -5538,7 +5538,7 @@ _imp__set_lazy_attributes_impl(PyObject *sys_module, PyObject *module,
55385538
Py_RETURN_NONE;
55395539
}
55405540

5541-
module_dict = get_mod_dict(module);
5541+
module_dict = get_mod_dict(modobj);
55425542
if (module_dict == NULL || !PyDict_CheckExact(module_dict)) {
55435543
goto done;
55445544
}

0 commit comments

Comments
 (0)