Mercurial > cpython-lru_cache-weakref
comparison Python/ast.c @ 36742:658f8ff2a442 legacy-trunk
Make 'as' an actual keyword when with's future statement is used. Not
actually necessary for functionality, but good for transition.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Tue, 28 Feb 2006 22:42:15 +0000 |
| parents | 45e6f901902c |
| children | 376792bfb57e |
comparison
equal
deleted
inserted
replaced
| 36741:c0982b8155c6 | 36742:658f8ff2a442 |
|---|---|
| 2086 | 2086 |
| 2087 static alias_ty | 2087 static alias_ty |
| 2088 alias_for_import_name(struct compiling *c, const node *n) | 2088 alias_for_import_name(struct compiling *c, const node *n) |
| 2089 { | 2089 { |
| 2090 /* | 2090 /* |
| 2091 import_as_name: NAME [NAME NAME] | 2091 import_as_name: NAME ['as' NAME] |
| 2092 dotted_as_name: dotted_name [NAME NAME] | 2092 dotted_as_name: dotted_name ['as' NAME] |
| 2093 dotted_name: NAME ('.' NAME)* | 2093 dotted_name: NAME ('.' NAME)* |
| 2094 */ | 2094 */ |
| 2095 PyObject *str; | 2095 PyObject *str; |
| 2096 | 2096 |
| 2097 loop: | 2097 loop: |
