mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Use the public API, not a private one.
This commit is contained in:
parent
9e0e1a63c8
commit
a6503606f9
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def import_(*args, **kwargs):
|
|||
if using___import__:
|
||||
return __import__(*args, **kwargs)
|
||||
else:
|
||||
return importlib._bootstrap.__import__(*args, **kwargs)
|
||||
return importlib.__import__(*args, **kwargs)
|
||||
|
||||
|
||||
importlib_only = unittest.skipIf(using___import__, "importlib-specific test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue