[Python-checkins] cpython (3.2): parameter_list was meant here

benjamin.peterson python-checkins at python.org
Sat Dec 24 03:02:25 CET 2011


http://hg.python.org/cpython/rev/71ff2235bb4c
changeset: 74148:71ff2235bb4c
branch: 3.2
user: Benjamin Peterson <benjamin at python.org>
date: Fri Dec 23 20:01:43 2011 -0600
summary:
 parameter_list was meant here
files:
 Doc/reference/compound_stmts.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -427,7 +427,7 @@
 .. productionlist::
 funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
 decorators: `decorator`+
- decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
+ decorator: "@" `dotted_name` ["(" [`parameter_list` [","]] ")"] NEWLINE
 dotted_name: `identifier` ("." `identifier`)*
 parameter_list: (`defparameter` ",")*
 : ( "*" [`parameter`] ("," `defparameter`)*
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /