summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-03 17:51:12 (GMT)
committerGeorg Brandl <georg@python.org>2009-08-03 17:51:12 (GMT)
commitd935976d7021ddaee728d8e018a4688e85ebd8c7 (patch)
tree4ef75925483b6dc6c07e984190e675ca6539adf4 /Doc/reference
parent8e7b0e8ff19a47f6b3525b0104407265852bc282 (diff)
downloadcpython-d935976d7021ddaee728d8e018a4688e85ebd8c7.zip
cpython-d935976d7021ddaee728d8e018a4688e85ebd8c7.tar.gz
cpython-d935976d7021ddaee728d8e018a4688e85ebd8c7.tar.bz2
Merged revisions 74297 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r74297 | georg.brandl | 2009-08-03 19:50:20 +0200 (Mo, 03 Aug 2009) | 1 line #6618: fix invalid 3k syntax. ........
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/expressions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 79c87be3e2..b02c696 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -416,7 +416,7 @@ generator functions::
... while True:
... try:
... value = (yield value)
- ... except Exception, e:
+ ... except Exception as e:
... value = e
... finally:
... print("Don't forget to clean up when 'close()' is called.")