diff options
Diffstat (limited to 'logilab/common/modutils.py')
-rw-r--r-- | logilab/common/modutils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logilab/common/modutils.py b/logilab/common/modutils.py index 3bcda8a..b587e8c 100644 --- a/logilab/common/modutils.py +++ b/logilab/common/modutils.py @@ -70,8 +70,7 @@ except DistutilsPlatformError: EXT_LIB_DIR = get_python_lib() -BUILTIN_MODULES = dict(zip(sys.builtin_module_names, - [1]*len(sys.builtin_module_names))) +BUILTIN_MODULES = dict.fromkeys(sys.builtin_module_names, True) class NoSourceFile(Exception): |