summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-06 10:43:43 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-06 10:43:43 (GMT)
commitd82a9c1618be09690ddab73aa3b1f1f994b7c402 (patch)
treefcb8750107bdf0cbf67a141e4a6d237977fe6aa3 /Doc/reference
parentfbb9c0bf3c029caf02e531dac6df80b88f01b0a0 (diff)
downloadcpython-d82a9c1618be09690ddab73aa3b1f1f994b7c402.zip
cpython-d82a9c1618be09690ddab73aa3b1f1f994b7c402.tar.gz
cpython-d82a9c1618be09690ddab73aa3b1f1f994b7c402.tar.bz2
Fix brackets.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/simple_stmts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index e5028ab..fa6bd27 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -375,8 +375,8 @@ The :keyword:`print` statement
.. index:: statement: print
.. productionlist::
- print_stmt: "print" ([`expression` ("," `expression`)* [","]
- : | ">>" `expression` [("," `expression`)+ [","])
+ print_stmt: "print" ([`expression` ("," `expression`)* [","]]
+ : | ">>" `expression` [("," `expression`)+ [","]])
:keyword:`print` evaluates each expression in turn and writes the resulting
object to standard output (see below). If an object is not a string, it is