There was an error while loading. Please reload this page.
1 parent 0d0367f commit fe800a3Copy full SHA for fe800a3
1 file changed
Doc/reference/expressions.rst
@@ -416,7 +416,7 @@ generator functions::
416
... while True:
417
... try:
418
... value = (yield value)
419
- ... except Exception, e:
+ ... except Exception as e:
420
... value = e
421
... finally:
422
... print("Don't forget to clean up when 'close()' is called.")
0 commit comments