Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9a1c56

Browse files
committed
Merge #10553 followup from 3.2
2 parents b3a591b + 01606de commit b9a1c56

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/compileall.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ compile Python sources.
6868
.. versionchanged:: 3.2
6969
Added the ``-i``, ``-b`` and ``-h`` options.
7070

71+
There is no command-line option to control the optimization level used by the
72+
:func:`compile` function, because the Python interpreter itself already
73+
provides the option: :program:`python -O -m compileall`.
7174

7275
Public functions
7376
----------------

0 commit comments

Comments
 (0)