]> granicus.if.org Git - python/commitdiff
Closes 21048: Index 'as' in import and with statements.
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Apr 2014 04:58:48 +0000 (00:58 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Apr 2014 04:58:48 +0000 (00:58 -0400)
Doc/reference/compound_stmts.rst
Doc/reference/simple_stmts.rst

index 4a9ad08200ad7a66324ccf63757414eedcff3729..56e0769983d8de43c5ef87b70a1b2b1f0d1b83da 100644 (file)
@@ -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
 
index 254d1ba114797ba28a0e54b1792f0dc841df713d..2be1370a87b4bc2112bdeea20421d2f776a3a773 100644 (file)
@@ -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`] )*