From cd3d741451238b3ee63b12dd82908965c392e5d0 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 29 Apr 2014 00:58:48 -0400 Subject: [PATCH] Closes 21048: Index 'as' in import and with statements. --- Doc/reference/compound_stmts.rst | 4 +++- Doc/reference/simple_stmts.rst | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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`] )* -- 2.50.1