Commit cd3d7414 authored by Terry Jan Reedy's avatar Terry Jan Reedy

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

parent 0fe1d0a5
...@@ -331,7 +331,9 @@ may be found in section :ref:`raise`. ...@@ -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 ...@@ -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`] )*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment