From: Terry Jan Reedy Date: Tue, 29 Apr 2014 04:58:48 +0000 (-0400) Subject: Closes 21048: Index 'as' in import and with statements. X-Git-Tag: v2.7.7rc1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd3d741451238b3ee63b12dd82908965c392e5d0;p=python Closes 21048: Index 'as' in import and with statements. --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 4a9ad08200..56e0769983 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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 diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 254d1ba114..2be1370a87 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -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`] )*