]> granicus.if.org Git - python/commitdiff
put docstrings on functions
authorBenjamin Peterson <benjamin@python.org>
Mon, 20 Feb 2012 20:06:35 +0000 (15:06 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 20 Feb 2012 20:06:35 +0000 (15:06 -0500)
Lib/importlib/_bootstrap.py

index fe5f911df5847eb8bd28c6b3ad416c5b47c3efc6..7ebb72321f7dfb4134ad3685ced957019401280b 100644 (file)
@@ -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