revert r74152

This commit is contained in:
Benjamin Peterson 2009-07-22 16:34:37 +00:00
parent ec812caf5d
commit d38d344370
1 changed files with 4 additions and 4 deletions

View File

@ -282,13 +282,13 @@ program:
The simple form, ``assert expression``, is equivalent to ::
if __debug__ and not expression:
raise AssertionError
if __debug__:
if not expression: raise AssertionError
The extended form, ``assert expression1, expression2``, is equivalent to ::
if __debug__ and not expression1:
raise AssertionError(expression2)
if __debug__:
if not expression1: raise AssertionError(expression2)
.. index::
single: __debug__