Show More
@@ -26,7 +26,12 b' These imports will not be delayed:' | |||
|
26 | 26 | |
|
27 | 27 | import os, sys |
|
28 | 28 | from contextlib import contextmanager |
|
29 | import __builtin__ as builtins | |
|
29 | ||
|
30 | # __builtin__ in Python 2, builtins in Python 3. | |
|
31 | try: | |
|
32 | import __builtin__ as builtins | |
|
33 | except ImportError: | |
|
34 | import builtins | |
|
30 | 35 | |
|
31 | 36 | _origimport = __import__ |
|
32 | 37 |
General Comments 0
You need to be logged in to leave comments.
Login now