summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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