cpython: 651e84363001 (original) (raw)
Mercurial > cpython
changeset 72823:651e84363001 3.2
Fix docstring of distutils.util.byte_compile (followup for #11254) [#11254]
Éric Araujo merwok@netwok.org | |
---|---|
date | Sat, 08 Oct 2011 03:02:37 +0200 |
parents | 9afd3d54c3cb |
children | 6542e4028ed2 |
files | Lib/distutils/util.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Lib/distutils/util.py 6 |
line wrap: on
line diff
--- 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")