summaryrefslogtreecommitdiff
path: root/Grammar
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-31 00:04:24 +0000
committerCollin Winter <collinw@gmail.com>2007-08-31 00:04:24 +0000
commit3dd8182fe37609ff23c7408d6a506bfe6b826f5f (patch)
treec6fe4fdc96ab5d6dfc82b29365f2cc8901d17b83 /Grammar
parentb9edbbc63dd1de7fa6b59ec772e5da4c7be9b6b3 (diff)
downloadcpython-3dd8182fe37609ff23c7408d6a506bfe6b826f5f.tar.gz
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
Diffstat (limited to 'Grammar')
-rw-r--r--Grammar/Grammar2
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