Commit 6ddac006 authored by Benjamin Peterson's avatar Benjamin Peterson

put docstrings on functions

parent 3443fe60
...@@ -24,12 +24,12 @@ CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin' ...@@ -24,12 +24,12 @@ CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin'
def _make_relax_case(): def _make_relax_case():
if any(map(sys.platform.startswith, CASE_INSENSITIVE_PLATFORMS)): if any(map(sys.platform.startswith, CASE_INSENSITIVE_PLATFORMS)):
"""True if filenames must be checked case-insensitively."""
def _relax_case(): def _relax_case():
"""True if filenames must be checked case-insensitively."""
return b'PYTHONCASEOK' in _os.environ return b'PYTHONCASEOK' in _os.environ
else: else:
"""True if filenames must be checked case-insensitively."""
def _relax_case(): def _relax_case():
"""True if filenames must be checked case-insensitively."""
return False return False
return _relax_case return _relax_case
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment