mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
#6618: fix invalid 3k syntax.
This commit is contained in:
parent
0d0367f76f
commit
fe800a3437
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue