Mercurial > cpython-lru_cache-weakref
diff Parser/Python.asdl @ 70499:e0e663132363
unify TryExcept and TryFinally (closes #12199)
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 29 May 2011 11:43:10 -0500 |
| parents | 9b11cc4e2918 |
| children | f8199dea7ed3 |
line wrap: on
line diff
--- a/Parser/Python.asdl Sun May 29 18:13:51 2011 +0200 +++ b/Parser/Python.asdl Sun May 29 11:43:10 2011 -0500 @@ -31,8 +31,7 @@ | With(withitem* items, stmt* body) | Raise(expr? exc, expr? cause) - | TryExcept(stmt* body, excepthandler* handlers, stmt* orelse) - | TryFinally(stmt* body, stmt* finalbody) + | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody) | Assert(expr test, expr? msg) | Import(alias* names)
