Closes 21048: Index 'as' in import and with statements.

This commit is contained in:
Terry Jan Reedy 2014-04-29 00:58:48 -04:00
parent 0fe1d0a597
commit cd3d741451
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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`] )*