summaryrefslogtreecommitdiff
path: root/astroid/modutils.py
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2020-12-29 14:16:44 +0100
committerhippo91 <guillaume.peillex@gmail.com>2020-12-29 14:16:44 +0100
commit6f8de0e6ef6a4b2fe79dee9e1e4edc876370c6bb (patch)
tree007d95dd0520934e72e5fde8df4ec6dc4d71dcd4 /astroid/modutils.py
parenta324fbdf28cc01c301143e5555c8f8f0b59d8faa (diff)
downloadastroid-git-6f8de0e6ef6a4b2fe79dee9e1e4edc876370c6bb.tar.gz
Removes insecable whitespaces
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r--astroid/modutils.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py
index da3655c9..4ec8ce95 100644
--- a/astroid/modutils.py
+++ b/astroid/modutils.py
@@ -91,16 +91,16 @@ if os.name == "nt":
pass
if platform.python_implementation() == "PyPy":
- #  The get_python_lib(standard_lib=True) function does not give valid
- #  result with pypy in a virtualenv.
- #  In a virtual environment, with CPython implementation the call to this function returns a path toward
- #  the binary (its libraries) which has been used to create the virtual environment.
- #  Not with pypy implementation.
- #  The only way to retrieve such information is to use the sys.base_prefix hint.
- #  It's worth noticing that under CPython implementation the return values of
+ # The get_python_lib(standard_lib=True) function does not give valid
+ # result with pypy in a virtualenv.
+ # In a virtual environment, with CPython implementation the call to this function returns a path toward
+ # the binary (its libraries) which has been used to create the virtual environment.
+ # Not with pypy implementation.
+ # The only way to retrieve such information is to use the sys.base_prefix hint.
+ # It's worth noticing that under CPython implementation the return values of
# get_python_lib(standard_lib=True) and get_python_lib(santdard_lib=True, prefix=sys.base_prefix)
# are the same.
- #  In the lines above, We could have replace the call to get_python_lib(standard=True)
+ # In the lines above, we could have replace the call to get_python_lib(standard=True)
# with the one using prefix=sys.base_prefix but we prefer modifying only what deals with pypy.
STD_LIB_DIRS.add(get_python_lib(standard_lib=True, prefix=sys.base_prefix))
_root = os.path.join(sys.prefix, "lib_pypy")