diff options
author | Guido van Rossum <guido@python.org> | 1998-04-09 21:39:57 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-09 21:39:57 +0000 |
commit | a38a0c896561d1ce464b6b32c4d027251b216cae (patch) | |
tree | a002c0d1ecf7c530474e2f30c189184710f7c464 /Grammar | |
parent | 3d14aea50d168840449a7258ea95243efe656a90 (diff) | |
download | cpython-a38a0c896561d1ce464b6b32c4d027251b216cae.tar.gz |
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 73c298ff1f..dabf88e5aa 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)* |