[Python-checkins] r74297 - python/branches/py3k/Doc/reference/expressions.rst
georg.brandl
python-checkins at python.org
Mon Aug 3 19:50:21 CEST 2009
Author: georg.brandl
Date: Mon Aug 3 19:50:20 2009
New Revision: 74297
Log:
#6618: fix invalid 3k syntax.
Modified:
python/branches/py3k/Doc/reference/expressions.rst
Modified: python/branches/py3k/Doc/reference/expressions.rst
==============================================================================
--- python/branches/py3k/Doc/reference/expressions.rst (original)
+++ python/branches/py3k/Doc/reference/expressions.rst Mon Aug 3 19:50:20 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