summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-23 15:01:05 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-02-23 15:01:05 (GMT)
commit5224d28d38eb784f17c2fed3f48368285df6d17a (patch)
treeb258202efc39ae5239d91dcf5b1898c6ce713f16 /Parser/Python.asdl
parentb12f0b581a6f268d0611c87012d1273aeca220b8 (diff)
downloadcpython-5224d28d38eb784f17c2fed3f48368285df6d17a.zip
cpython-5224d28d38eb784f17c2fed3f48368285df6d17a.tar.gz
cpython-5224d28d38eb784f17c2fed3f48368285df6d17a.tar.bz2
Patch #1759: Backport of PEP 3129 class decorators
with some help from Georg
Diffstat (limited to 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 3aaa0f2..250e9ac 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -10,8 +10,8 @@ module Python version "$Revision$"
| Suite(stmt* body)
stmt = FunctionDef(identifier name, arguments args,
- stmt* body, expr* decorators)
- | ClassDef(identifier name, expr* bases, stmt* body)
+ stmt* body, expr* decorator_list)
+ | ClassDef(identifier name, expr* bases, stmt* body, expr *decorator_list)
| Return(expr? value)
| Delete(expr* targets)