[Python-checkins] r74298 - in python/branches/release31-maint: Doc/reference/expressions.rst
georg.brandl
python-checkins at python.org
Mon Aug 3 19:51:13 CEST 2009
Author: georg.brandl
Date: Mon Aug 3 19:51:12 2009
New Revision: 74298
Log:
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.
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Doc/reference/expressions.rst
Modified: python/branches/release31-maint/Doc/reference/expressions.rst
==============================================================================
--- python/branches/release31-maint/Doc/reference/expressions.rst (original)
+++ python/branches/release31-maint/Doc/reference/expressions.rst Mon Aug 3 19:51:12 2009
@@ -416,7 +416,7 @@
... 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.")
More information about the Python-checkins
mailing list