diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:58:48 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:58:48 (GMT) |
commit | cd3d741451238b3ee63b12dd82908965c392e5d0 (patch) | |
tree | ebdaeb5e5b730f181de3550be159d5407dfedd16 | |
parent | 0fe1d0a59776d43f01879c1d39e21d17d80ad799 (diff) | |
download | cpython-cd3d741451238b3ee63b12dd82908965c392e5d0.zip cpython-cd3d741451238b3ee63b12dd82908965c392e5d0.tar.gz cpython-cd3d741451238b3ee63b12dd82908965c392e5d0.tar.bz2 |
Closes 21048: Index 'as' in import and with statements.
-rw-r--r-- | Doc/reference/compound_stmts.rst | 4 | ||||
-rw-r--r-- | Doc/reference/simple_stmts.rst | 1 |
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`] )* |