[Python-checkins] r63982 - python/trunk/Doc/reference/simple_stmts.rst

georg.brandl python-checkins at python.org
Fri Jun 6 12:43:44 CEST 2008


Author: georg.brandl
Date: Fri Jun  6 12:43:43 2008
New Revision: 63982

Log:
Fix brackets.


Modified:
   python/trunk/Doc/reference/simple_stmts.rst

Modified: python/trunk/Doc/reference/simple_stmts.rst
==============================================================================
--- python/trunk/Doc/reference/simple_stmts.rst	(original)
+++ python/trunk/Doc/reference/simple_stmts.rst	Fri Jun  6 12:43:43 2008
@@ -375,8 +375,8 @@
 .. 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


More information about the Python-checkins mailing list