summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-26 02:22:55 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-03-26 02:22:55 (GMT)
commit01606dea3d75faf73e507c7b200a42897338d44b (patch)
tree48f21b43ced108ef18d330445da512fd2e176e5f /Doc
parentb39b1967cec1cab582cfe161d935521774fceaf7 (diff)
downloadcpython-01606dea3d75faf73e507c7b200a42897338d44b.zip
cpython-01606dea3d75faf73e507c7b200a42897338d44b.tar.gz
cpython-01606dea3d75faf73e507c7b200a42897338d44b.tar.bz2
#10553: Explain why compileall has no command-line argument to control optimization
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/compileall.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/compileall.rst b/Doc/library/compileall.rst
index 55dd958..cb7a09c 100644
--- a/Doc/library/compileall.rst
+++ b/Doc/library/compileall.rst
@@ -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
----------------