diff options
author | Thomas Wouters <thomas@python.org> | 2006-02-28 22:42:15 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-02-28 22:42:15 (GMT) |
commit | 8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331 (patch) | |
tree | 9f4e563b80a5748e23c5e15b56502731a12501cc /Python/ast.c | |
parent | 6cba25666c278760a9fea024948b8add7d5c4b1a (diff) | |
download | cpython-8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331.zip cpython-8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331.tar.gz cpython-8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331.tar.bz2 |
Make 'as' an actual keyword when with's future statement is used. Not
actually necessary for functionality, but good for transition.
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c index 39ae8f3..7edd345 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2088,8 +2088,8 @@ static alias_ty alias_for_import_name(struct compiling *c, const node *n) { /* - import_as_name: NAME [NAME NAME] - dotted_as_name: dotted_name [NAME NAME] + import_as_name: NAME ['as' NAME] + dotted_as_name: dotted_name ['as' NAME] dotted_name: NAME ('.' NAME)* */ PyObject *str; |