[Python-checkins] cpython (3.2): Fix docstring of distutils.util.byte_compile (followup for #11254)

eric.araujo python-checkins at python.org
Sun Oct 9 08:59:51 CEST 2011


http://hg.python.org/cpython/rev/651e84363001
changeset:   72823:651e84363001
branch:      3.2
parent:      72820:9afd3d54c3cb
user:        Éric Araujo <merwok at netwok.org>
date:        Sat Oct 08 03:02:37 2011 +0200
summary:
  Fix docstring of distutils.util.byte_compile (followup for #11254)

files:
  Lib/distutils/util.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -419,9 +419,9 @@
                   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")

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list