Skip to content

Commit cc6dbbd

Browse files
author
georg.brandl
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. ........ git-svn-id: http://svn.python.org/projects/python/branches/release31-maint@74298 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent ab7e623 commit cc6dbbd

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)