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. ........
This commit is contained in:
parent
8e7b0e8ff1
commit
d935976d70
|
@ -416,7 +416,7 @@ generator functions::
|
||||||
... while True:
|
... while True:
|
||||||
... try:
|
... try:
|
||||||
... value = (yield value)
|
... value = (yield value)
|
||||||
... except Exception, e:
|
... except Exception as e:
|
||||||
... value = e
|
... value = e
|
||||||
... finally:
|
... finally:
|
||||||
... print("Don't forget to clean up when 'close()' is called.")
|
... print("Don't forget to clean up when 'close()' is called.")
|
||||||
|
|
Loading…
Reference in New Issue