diff Include/Python-ast.h @ 40588:4bab65fcca8e

Some more changes related to the new except syntax and semantics, by Collin Winter.
author Guido van Rossum <guido@python.org>
date Wed, 10 Jan 2007 18:51:35 +0000
parents 54cd47788811
children 6ebad2a6b990
line wrap: on
line diff
--- a/Include/Python-ast.h	Wed Jan 10 16:19:56 2007 +0000
+++ b/Include/Python-ast.h	Wed Jan 10 18:51:35 2007 +0000
@@ -322,7 +322,7 @@
 
 struct _excepthandler {
         expr_ty type;
-        expr_ty name;
+        identifier name;
         asdl_seq *body;
         int lineno;
         int col_offset;
@@ -448,8 +448,8 @@
 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,