]> granicus.if.org Git - python/commitdiff
Fix docstring of distutils.util.byte_compile (followup for #11254)
authorÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 01:02:37 +0000 (03:02 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 01:02:37 +0000 (03:02 +0200)
Lib/distutils/util.py

index 631f5dfb7075270100b12f17fd23338b7ea3f77b..f42c6a18b945a435fc12570df1976b9359320f5f 100644 (file)
@@ -419,9 +419,9 @@ def byte_compile (py_files,
                   verbose=1, dry_run=0,
                   direct=None):
     """Byte-compile a collection of Python source files to either .pyc
-    or .pyo files in the same directory.  'py_files' is a list of files
-    to compile; any files that don't end in ".py" are silently skipped.
-    'optimize' must be one of the following:
+    or .pyo files in a __pycache__ subdirectory.  'py_files' is a list
+    of files to compile; any files that don't end in ".py" are silently
+    skipped.  'optimize' must be one of the following:
       0 - don't optimize (generate .pyc)
       1 - normal optimization (like "python -O")
       2 - extra optimization (like "python -OO")