#6618: fix invalid 3k syntax.
This commit is contained in:
parent
0d0367f76f
commit
fe800a3437
|
@ -416,7 +416,7 @@ generator functions::
|
|||
... 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.")
|
||||
|
|
Loading…
Reference in New Issue