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

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


Author: georg.brandl
Date: Sun Sep 21 09:40:25 2008
New Revision: 66533

Log:
Remove stray question mark.


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:40:25 2008
@@ -410,7 +410,7 @@
 :ref:`types`):
 
 .. productionlist::
-   funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`]? ":" `suite`
+   funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
    decorators: `decorator`+
    decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
    dotted_name: `identifier` ("." `identifier`)*


More information about the Python-3000-checkins mailing list