summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-21 07:21:20 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-21 07:21:20 (GMT)
commit8e3548350d81c3461a5be63eb3fd646e3243a2c6 (patch)
tree83f7bd34e3c8db5f72bbcffaf448116d931b829d /Doc/reference/compound_stmts.rst
parent3ad8166ee96eecfd5416c81aa121641b306adfb9 (diff)
downloadcpython-8e3548350d81c3461a5be63eb3fd646e3243a2c6.zip
cpython-8e3548350d81c3461a5be63eb3fd646e3243a2c6.tar.gz
cpython-8e3548350d81c3461a5be63eb3fd646e3243a2c6.tar.bz2
Remove duplicate production.
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r--Doc/reference/compound_stmts.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index a4c98b8..52d12b7 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -413,7 +413,6 @@ A function definition defines a user-defined function object (see section
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`)*