[docs] [issue16493] Document the 'optimize' argument to compile()

Brett Cannon report at bugs.python.org
Sat Nov 17 16:52:48 CET 2012

New submission from Brett Cannon:

Looks like Georg added the flag in 2010 after Python 2.7 was already out, so this doesn't need to be backported.

The possible values are:

-1 : optimization level the interpreter is already executing with
0 : no optimization
1 : -O
2 : -OO

assignee: docs at python
components: Documentation
messages: 175757
nosy: brett.cannon, docs at python
priority: normal
severity: normal
stage: needs patch
status: open
title: Document the 'optimize' argument to compile()
versions: Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the docs mailing list