diff options
author | Guido van Rossum <guido@python.org> | 1997-03-11 18:42:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-03-11 18:42:21 (GMT) |
commit | 7c53111d5b74dbd46ec1acf2328f0ce67732324b (patch) | |
tree | f1402f898e83ae31613151b5e5ab68bfa7ff7429 /Python/bltinmodule.c | |
parent | 0824f63cfc4336b9fc6ff6e2f067a9fcd80aa162 (diff) | |
download | cpython-7c53111d5b74dbd46ec1acf2328f0ce67732324b.zip cpython-7c53111d5b74dbd46ec1acf2328f0ce67732324b.tar.gz cpython-7c53111d5b74dbd46ec1acf2328f0ce67732324b.tar.bz2 |
Added support for ``if __debug__:'' -- if -O is given, this form is
recognized by the code generator and code generation for the test and
the subsequent suite is suppressed.
One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' --
no parentheses or operators must be present, or the optimization is
not carried through. Whitespace doesn't matter. Other uses of
__debug__ will find __debug__ defined as 0 or 1 in the __builtin__
module.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions