mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Make 'as' an actual keyword when with's future statement is used. Not
actually necessary for functionality, but good for transition.
This commit is contained in:
parent
6cba25666c
commit
8ae1295c5b
5 changed files with 212 additions and 206 deletions
|
@ -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;
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue