#10553: Explain why compileall has no command-line argument to control optimization
This commit is contained in:
parent
b39b1967ce
commit
01606dea3d
@ -68,6 +68,9 @@ compile Python sources.
|
|||||||
.. versionchanged:: 3.2
|
.. versionchanged:: 3.2
|
||||||
Added the ``-i``, ``-b`` and ``-h`` options.
|
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
|
Public functions
|
||||||
----------------
|
----------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user