[Python-checkins] python/nondist/sandbox/ast python.asdl,1.23,1.24
bckfnn@users.sourceforge.net
bckfnn@users.sourceforge.net
Thu, 30 May 2002 10:00:52 -0700
Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv2329
Modified Files:
python.asdl
Log Message:
Renamed 'except' to 'excepthandler'. Except is a python reserved word.
Index: python.asdl
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/python.asdl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** python.asdl 22 May 2002 11:07:04 -0000 1.23
--- python.asdl 30 May 2002 17:00:50 -0000 1.24
***************
*** 29,33 ****
-- 'type' is a bad name
| Raise(expr? type, expr? inst, expr? tback)
! | TryExcept(stmt* body, except* handlers, stmt* orelse)
| TryFinally(stmt* body, stmt* finalbody)
| Assert(expr test, expr? msg)
--- 29,33 ----
-- 'type' is a bad name
| Raise(expr? type, expr? inst, expr? tback)
! | TryExcept(stmt* body, excepthandler* handlers, stmt* orelse)
| TryFinally(stmt* body, stmt* finalbody)
| Assert(expr test, expr? msg)
***************
*** 88,92 ****
-- not sure what to call the first argument for raise and except
! except = (expr? type, expr? name, stmt* body)
arguments = (expr* args, identifier? vararg,
--- 88,92 ----
-- not sure what to call the first argument for raise and except
! excepthandler = (expr? type, expr? name, stmt* body)
arguments = (expr* args, identifier? vararg,