diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-31 00:04:24 +0000 |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-31 00:04:24 +0000 |
commit | 3dd8182fe37609ff23c7408d6a506bfe6b826f5f (patch) | |
tree | c6fe4fdc96ab5d6dfc82b29365f2cc8901d17b83 /Grammar | |
parent | b9edbbc63dd1de7fa6b59ec772e5da4c7be9b6b3 (diff) | |
download | cpython-3dd8182fe37609ff23c7408d6a506bfe6b826f5f.tar.gz |
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
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 17a01483e8..6111fae79b 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -49,7 +49,7 @@ break_stmt: 'break' continue_stmt: 'continue' return_stmt: 'return' [testlist] yield_stmt: yield_expr -raise_stmt: 'raise' [test [',' test [',' test]]] +raise_stmt: 'raise' [test ['from' test]] import_stmt: import_name | import_from import_name: 'import' dotted_as_names # note below: the ('.' | '...') is necessary because '...' is tokenized as ELLIPSIS |