Revert previous checkin:

According to Jeremy, the comment only made sense when
the yield was disallowed.  Now it's testing that the yield
is allowed, so it's not bad and the outer finally is irrelevant.
This commit is contained in:
Neal Norwitz 2005-10-22 03:51:42 +00:00
parent ab541bb98e
commit ebc3457937
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ These are fine:
... try:
... 1//0
... except ZeroDivisionError:
... yield 666 # bad because *outer* try has finally
... yield 666
... except:
... pass
... finally: