From: Éric Araujo Date: Sat, 8 Oct 2011 01:02:37 +0000 (+0200) Subject: Fix docstring of distutils.util.byte_compile (followup for #11254) X-Git-Tag: v3.3.0a1~1243^2^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04ea9533c11edd30b2c482cacb3acf5678f33dc3;p=python Fix docstring of distutils.util.byte_compile (followup for #11254) --- diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 631f5dfb70..f42c6a18b9 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -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")