From 16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 10 Jan 2007 18:51:35 +0000 Subject: Some more changes related to the new except syntax and semantics, by Collin Winter. --- Include/Python-ast.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Include/Python-ast.h') diff --git a/Include/Python-ast.h b/Include/Python-ast.h index a159edbdca..2d0576c936 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, -- cgit v1.2.1