Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d935976

Browse files
committed
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. ........
1 parent 8e7b0e8 commit d935976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ generator functions::
416416
... while True:
417417
... try:
418418
... value = (yield value)
419-
... except Exception, e:
419+
... except Exception as e:
420420
... value = e
421421
... finally:
422422
... print("Don't forget to clean up when 'close()' is called.")

0 commit comments

Comments
 (0)