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`.
The :keyword:`with` statement
=============================
.. index:: statement: with
.. index::
statement: with
single: as; with statement
.. versionadded:: 2.5
......
......@@ -653,6 +653,7 @@ The :keyword:`import` statement
single: module; importing
pair: name; binding
keyword: from
single: as; import statement
.. productionlist::
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