[Python-checkins] cpython (3.4): Issue #22243: fix except grammar in reference.
terry.reedy
python-checkins at python.org
Sun Aug 24 01:30:55 CEST 2014
http://hg.python.org/cpython/rev/a249f1f879be
changeset: 92214:a249f1f879be
branch: 3.4
parent: 92211:3ad59ed0f4f0
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sat Aug 23 19:29:47 2014 -0400
summary:
Issue #22243: fix except grammar in reference.
files:
Doc/reference/compound_stmts.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -234,7 +234,7 @@
.. productionlist::
try_stmt: try1_stmt | try2_stmt
try1_stmt: "try" ":" `suite`
- : ("except" [`expression` ["as" `target`]] ":" `suite`)+
+ : ("except" [`expression` ["as" `identifier`]] ":" `suite`)+
: ["else" ":" `suite`]
: ["finally" ":" `suite`]
try2_stmt: "try" ":" `suite`
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list