diff options
author | Guido van Rossum <guido@python.org> | 2007-01-10 18:51:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-01-10 18:51:35 (GMT) |
commit | 16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9 (patch) | |
tree | 459a125a265abb16399baeea398ab116b7bf4f9b /Include | |
parent | b940e113bf90ff71b0ef57414ea2beea9d2a4bc0 (diff) | |
download | cpython-16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9.zip cpython-16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9.tar.gz cpython-16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9.tar.bz2 |
Some more changes related to the new except syntax and semantics,
by Collin Winter.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python-ast.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h index a159edb..2d0576c 100644 --- a/Include/Python-ast.h +++ b/Include/Python-ast.h @@ -322,7 +322,7 @@ struct _comprehension { struct _excepthandler { expr_ty type; - expr_ty name; + identifier name; asdl_seq *body; int lineno; int col_offset; @@ -448,8 +448,8 @@ slice_ty ExtSlice(asdl_seq * dims, PyArena *arena); slice_ty Index(expr_ty value, PyArena *arena); comprehension_ty comprehension(expr_ty target, expr_ty iter, asdl_seq * ifs, PyArena *arena); -excepthandler_ty excepthandler(expr_ty type, expr_ty name, asdl_seq * body, int - lineno, int col_offset, PyArena *arena); +excepthandler_ty excepthandler(expr_ty type, identifier name, asdl_seq * body, + int lineno, int col_offset, PyArena *arena); arguments_ty arguments(asdl_seq * args, identifier vararg, expr_ty varargannotation, asdl_seq * kwonlyargs, identifier kwarg, expr_ty kwargannotation, asdl_seq * defaults, |