summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/importlib/_bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index fe5f911..7ebb723 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -24,12 +24,12 @@ CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin'
def _make_relax_case():
if any(map(sys.platform.startswith, CASE_INSENSITIVE_PLATFORMS)):
- """True if filenames must be checked case-insensitively."""
def _relax_case():
+ """True if filenames must be checked case-insensitively."""
return b'PYTHONCASEOK' in _os.environ
else:
- """True if filenames must be checked case-insensitively."""
def _relax_case():
+ """True if filenames must be checked case-insensitively."""
return False
return _relax_case