mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Expose LazyImportType in types module
This commit is contained in:
parent
46b3b75a3a
commit
c5efb20d48
5 changed files with 6 additions and 9 deletions
|
|
@ -5377,11 +5377,6 @@ imp_module_exec(PyObject *module)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (PyModule_AddObjectRef(module, "lazy_import",
|
||||
(PyObject *)&PyLazyImport_Type) < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue