summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-21 07:40:25 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-21 07:40:25 (GMT)
commit33d1ae8563fcfc11f3e6ffab1ac63d2a36819af8 (patch)
treef2921e27535d27d63f8c591eaf8ef674865ce0f0 /Doc
parent60ebb8b0aa0e0aa2ae7c06aa05434f33ae1fe696 (diff)
downloadcpython-33d1ae8563fcfc11f3e6ffab1ac63d2a36819af8.zip
cpython-33d1ae8563fcfc11f3e6ffab1ac63d2a36819af8.tar.gz
cpython-33d1ae8563fcfc11f3e6ffab1ac63d2a36819af8.tar.bz2
Remove stray question mark.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 52d12b7..d9d11b5 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -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`)*