diff options
author | Guido van Rossum <guido@python.org> | 1998-04-09 21:39:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-09 21:39:57 (GMT) |
commit | d295f120ae6bd624eaac9032b70fad0aec110597 (patch) | |
tree | b35a80e21cc3bceff0cc766d15582cf30c02225f /Grammar | |
parent | 926f13a0819eb3d40a0d0fd38ff25ef0c7d489b3 (diff) | |
download | cpython-d295f120ae6bd624eaac9032b70fad0aec110597.zip cpython-d295f120ae6bd624eaac9032b70fad0aec110597.tar.gz cpython-d295f120ae6bd624eaac9032b70fad0aec110597.tar.bz2 |
Make first raise argument optional
Diffstat (limited to 'Grammar')
-rw-r--r-- | Grammar/Grammar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar index 73c298f..dabf88e 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -40,7 +40,7 @@ flow_stmt: break_stmt | continue_stmt | return_stmt | raise_stmt break_stmt: 'break' continue_stmt: 'continue' return_stmt: 'return' [testlist] -raise_stmt: 'raise' test [',' test [',' test]] +raise_stmt: 'raise' [test [',' test [',' test]]] import_stmt: 'import' dotted_name (',' dotted_name)* | 'from' dotted_name 'import' ('*' | NAME (',' NAME)*) dotted_name: NAME ('.' NAME)* global_stmt: 'global' NAME (',' NAME)* |