mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Some more changes related to the new except syntax and semantics,
by Collin Winter.
This commit is contained in:
parent
b940e113bf
commit
16be03e4a2
10 changed files with 46 additions and 32 deletions
|
@ -97,7 +97,7 @@ module Python version "$Revision$"
|
|||
-- TODO(jhylton): Figure out if there is a better way to handle
|
||||
-- lineno and col_offset fields, particularly when
|
||||
-- ast is exposed to Python.
|
||||
excepthandler = (expr? type, expr? name, stmt* body, int lineno,
|
||||
excepthandler = (expr? type, identifier? name, stmt* body, int lineno,
|
||||
int col_offset)
|
||||
|
||||
arguments = (arg* args, identifier? vararg, expr? varargannotation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue