Mercurial > cpython-lru_cache-weakref
diff Parser/Python.asdl @ 45447:393822f2ef90 legacy-trunk
Patch #1759: Backport of PEP 3129 class decorators
with some help from Georg
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Sat, 23 Feb 2008 15:01:05 +0000 |
| parents | 353c009f6c53 |
| children | 2ff88ae9850c |
line wrap: on
line diff
--- a/Parser/Python.asdl Sat Feb 23 12:46:10 2008 +0000 +++ b/Parser/Python.asdl Sat Feb 23 15:01:05 2008 +0000 @@ -10,8 +10,8 @@ | 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)
