Closes 21048: Index 'as' in import and with statements.
This commit is contained in:
parent
0fe1d0a597
commit
cd3d741451
|
@ -331,7 +331,9 @@ may be found in section :ref:`raise`.
|
||||||
The :keyword:`with` statement
|
The :keyword:`with` statement
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
.. index:: statement: with
|
.. index::
|
||||||
|
statement: with
|
||||||
|
single: as; with statement
|
||||||
|
|
||||||
.. versionadded:: 2.5
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
|
|
|
@ -653,6 +653,7 @@ The :keyword:`import` statement
|
||||||
single: module; importing
|
single: module; importing
|
||||||
pair: name; binding
|
pair: name; binding
|
||||||
keyword: from
|
keyword: from
|
||||||
|
single: as; import statement
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
import_stmt: "import" `module` ["as" `name`] ( "," `module` ["as" `name`] )*
|
import_stmt: "import" `module` ["as" `name`] ( "," `module` ["as" `name`] )*
|
||||||
|
|
Loading…
Reference in New Issue