diff options
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r-- | astroid/modutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py index f3852566..746bedc7 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -94,7 +94,7 @@ if platform.python_implementation() == "PyPy": STD_LIB_DIRS.add(_root) try: # real_prefix is defined when running inside virtualenv. - STD_LIB_DIRS.add(os.path.join(sys.real_prefix, "lib_pypy")) + STD_LIB_DIRS.add(os.path.join(sys.base_prefix, "lib_pypy")) except AttributeError: pass del _root |