summaryrefslogtreecommitdiffstats
path: root/Doc/reference/simple_stmts.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-29 10:57:11 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-29 10:57:11 (GMT)
commit18a499d1c5f47d0fbb56243bb458e2a71bd48c09 (patch)
tree69508c471e1a5f48222a87e2d1755dfded51357d /Doc/reference/simple_stmts.rst
parent9a37159e51fc436594752ab0e6c6ad4d25df8e4e (diff)
downloadcpython-18a499d1c5f47d0fbb56243bb458e2a71bd48c09.zip
cpython-18a499d1c5f47d0fbb56243bb458e2a71bd48c09.tar.gz
cpython-18a499d1c5f47d0fbb56243bb458e2a71bd48c09.tar.bz2
Two nits.
Diffstat (limited to 'Doc/reference/simple_stmts.rst')
-rw-r--r--Doc/reference/simple_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index e905ff6..e9be1fd 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -290,7 +290,7 @@ The simple form, ``assert expression``, is equivalent to ::
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__