summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-20 20:06:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-20 20:06:35 (GMT)
commit6ddac006be85b839c9590aa2ec802b61f785f7e2 (patch)
treeb39cc4a7cf8a278bdf6fe8be70f3c56ec8ca985d /Lib/importlib/_bootstrap.py
parent3443fe60c7e0a232fb383a5a2e5c4156562bbc14 (diff)
downloadcpython-6ddac006be85b839c9590aa2ec802b61f785f7e2.zip
cpython-6ddac006be85b839c9590aa2ec802b61f785f7e2.tar.gz
cpython-6ddac006be85b839c9590aa2ec802b61f785f7e2.tar.bz2
put docstrings on functions
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-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