Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
8cc629dc
Commit
8cc629dc
authored
Oct 08, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docstring of distutils.util.byte_compile (followup for #11254)
parent
b51f2da1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
util.py
util.py
+3
-3
No files found.
util.py
View file @
8cc629dc
...
@@ -419,9 +419,9 @@ def byte_compile (py_files,
...
@@ -419,9 +419,9 @@ def byte_compile (py_files,
verbose=1, dry_run=0,
verbose=1, dry_run=0,
direct=None):
direct=None):
"""Byte-compile a collection of Python source files to either .pyc
"""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
or .pyo files in
a __pycache__ subdirectory. '
py_files
' is a list
to compile; any files that don'
t
end
in
".py"
are
silently
skipped
.
of files to compile; any files that don'
t
end
in
".py"
are
silently
'optimize'
must
be
one
of
the
following
:
skipped
.
'optimize'
must
be
one
of
the
following
:
0
-
don
't optimize (generate .pyc)
0
-
don
't optimize (generate .pyc)
1 - normal optimization (like "python -O")
1 - normal optimization (like "python -O")
2 - extra optimization (like "python -OO")
2 - extra optimization (like "python -OO")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment