diff options
author | Éric Araujo <merwok@netwok.org> | 2011-10-08 01:02:37 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-10-08 01:02:37 (GMT) |
commit | 04ea9533c11edd30b2c482cacb3acf5678f33dc3 (patch) | |
tree | f2719398a32cf4e617b29bc0d36baddeb739fad2 /Lib/distutils/util.py | |
parent | fea2d04bb9697002569f8fa1d04f80ca4e912bbf (diff) | |
download | cpython-04ea9533c11edd30b2c482cacb3acf5678f33dc3.zip cpython-04ea9533c11edd30b2c482cacb3acf5678f33dc3.tar.gz cpython-04ea9533c11edd30b2c482cacb3acf5678f33dc3.tar.bz2 |
Fix docstring of distutils.util.byte_compile (followup for #11254)
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r-- | Lib/distutils/util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 631f5df..f42c6a1 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") |