[Python-3000-checkins] r66528 - python/branches/py3k/Doc/reference/compound_stmts.rst

georg.brandl python-3000-checkins at python.org
Sun Sep 21 09:21:20 CEST 2008


Author: georg.brandl
Date: Sun Sep 21 09:21:20 2008
New Revision: 66528

Log:
Remove duplicate production.


Modified:
   python/branches/py3k/Doc/reference/compound_stmts.rst

Modified: python/branches/py3k/Doc/reference/compound_stmts.rst
==============================================================================
--- python/branches/py3k/Doc/reference/compound_stmts.rst	(original)
+++ python/branches/py3k/Doc/reference/compound_stmts.rst	Sun Sep 21 09:21:20 2008
@@ -413,7 +413,6 @@
    funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`]? ":" `suite`
    decorators: `decorator`+
    decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
-   funcdef: "def" `funcname` "(" [`parameter_list`] ")" ":" `suite`
    dotted_name: `identifier` ("." `identifier`)*
    parameter_list: (`defparameter` ",")*
                  : (  "*" [`parameter`] ("," `defparameter`)*


More information about the Python-3000-checkins mailing list