summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-29 16:43:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-05-29 16:43:10 (GMT)
commit43af12b0b488791d89a9c08b0ad9f1c5004b5ed7 (patch)
tree5f4df2ef997d39645c4498b19774aaa4db091262 /Parser
parentf7d08e85221f7e1dd5c0d7edb7844c99ddeb6469 (diff)
downloadcpython-43af12b0b488791d89a9c08b0ad9f1c5004b5ed7.zip
cpython-43af12b0b488791d89a9c08b0ad9f1c5004b5ed7.tar.gz
cpython-43af12b0b488791d89a9c08b0ad9f1c5004b5ed7.tar.bz2
unify TryExcept and TryFinally (closes #12199)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Python.asdl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index de48643..ed12cbc 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -31,8 +31,7 @@ module Python
| 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)