]> granicus.if.org Git - python/commitdiff
Remove stray question mark.
authorGeorg Brandl <georg@python.org>
Sun, 21 Sep 2008 07:40:25 +0000 (07:40 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Sep 2008 07:40:25 +0000 (07:40 +0000)
Doc/reference/compound_stmts.rst

index 52d12b7666b0ec631a3fb8339460e654f30ed454..d9d11b55dbb8b56f6e99810aa27a7eadc157ccd4 100644 (file)
@@ -410,7 +410,7 @@ A function definition defines a user-defined function object (see section
 :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`)*