mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11:26 +00:00
#10553: Explain why compileall has no command-line argument to control optimization
This commit is contained in:
parent
b39b1967ce
commit
01606dea3d
1 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,9 @@ compile Python sources.
|
|||
.. versionchanged:: 3.2
|
||||
Added the ``-i``, ``-b`` and ``-h`` options.
|
||||
|
||||
There is no command-line option to control the optimization level used by the
|
||||
:func:`compile` function, because the Python interpreter itself already
|
||||
provides the option: :program:`python -O -m compileall`.
|
||||
|
||||
Public functions
|
||||
----------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue