contrib/import-checker.py
changeset 32291 bd872f64a8ba
parent 32212 65cd7e705ff6
child 32367 a9c71d578a1c
--- a/contrib/import-checker.py	Sat May 06 04:51:25 2017 +0530
+++ b/contrib/import-checker.py	Fri Feb 10 16:56:29 2017 -0800
@@ -213,7 +213,7 @@
         yield m
     for m in ['cffi']:
         yield m
-    stdlib_prefixes = set([sys.prefix, sys.exec_prefix])
+    stdlib_prefixes = {sys.prefix, sys.exec_prefix}
     # We need to supplement the list of prefixes for the search to work
     # when run from within a virtualenv.
     for mod in (BaseHTTPServer, zlib):