Commits

jeremylujan committed 2cd8bb6

Use sys.prefix to get location of stdlib

  • Participants
  • Parent commits 78feaae

Comments (0)

Files changed (1)

File rope/base/stdmods.py

 
 
 def _stdlib_path():
-    import inspect
-    return os.path.dirname(inspect.getsourcefile(inspect))
+    return sys.prefix
 
 @utils.cached(1)
 def standard_modules():