diff options
Diffstat (limited to 'Doc/reference/simple_stmts.rst')
-rw-r--r-- | Doc/reference/simple_stmts.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 1aa1fc1..2c0b8db 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -306,12 +306,12 @@ program: The simple form, ``assert expression``, is equivalent to :: if __debug__: - if not expression: raise AssertionError + if not expression: raise AssertionError The extended form, ``assert expression1, expression2``, is equivalent to :: if __debug__: - if not expression1: raise AssertionError(expression2) + if not expression1: raise AssertionError(expression2) .. index:: single: __debug__ |