#10553: Explain why compileall has no command-line argument to control optimization

This commit is contained in:
Éric Araujo 2011-03-26 03:22:55 +01:00
parent b39b1967ce
commit 01606dea3d

View File

@ -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
---------------- ----------------