(name, *args, **kwargs)
| 125 | patch_reload() |
| 126 | |
| 127 | def patched_import(name, *args, **kwargs): |
| 128 | if patch_qt_on_import == name or name.startswith(dotted): |
| 129 | builtins.__import__ = original_import |
| 130 | cancel_patches_in_sys_module() |
| 131 | _internal_patch_qt(get_qt_core_module()) # Patch it only when the user would import the qt module |
| 132 | return original_import(name, *args, **kwargs) |
| 133 | |
| 134 | import builtins # Py3 |
| 135 |
nothing calls this directly
no test coverage detected