summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/reference/compound_stmts.rst4
-rw-r--r--Doc/reference/simple_stmts.rst1
2 files changed, 4 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 4a9ad08..56e0769 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 254d1ba..2be1370 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`] )*