summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-26 02:23:43 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-03-26 02:23:43 (GMT)
commitb9a1c5662b37839c9d3e2cbba5893582add09713 (patch)
tree5f77a82e8616e91911e7fc2c3422902b86526078
parentb3a591bf066ac262fd800939662c54b09812c566 (diff)
parent01606dea3d75faf73e507c7b200a42897338d44b (diff)
downloadcpython-b9a1c5662b37839c9d3e2cbba5893582add09713.zip
cpython-b9a1c5662b37839c9d3e2cbba5893582add09713.tar.gz
cpython-b9a1c5662b37839c9d3e2cbba5893582add09713.tar.bz2
Merge #10553 followup from 3.2
-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
----------------