Fix brackets.
authorGeorg Brandl <georg@python.org>
Fri, 6 Jun 2008 10:43:43 +0000 (10:43 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 6 Jun 2008 10:43:43 +0000 (10:43 +0000)
Doc/reference/simple_stmts.rst

index e5028ab9a77fa3125e869861436a63801b799338..fa6bd27e88ab96e26dce29a716a96b37727d2d1d 100644 (file)
@@ -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