Message161565
the documentation for generator.throw() does not mention the fact that it has the same semantics for the three arguments as a "raise" expression has.
The first two arguments can be:
throw(exc_type, None)
throw(exc_type, value)
throw(exc_type, exc_instance)
throw(exc_instance, None) |
|
Date |
User |
Action |
Args |
2012-05-25 11:02:16 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, docs@python |
2012-05-25 11:02:16 | kristjan.jonsson | set | messageid: <1337943736.85.0.146138312281.issue14911@psf.upfronthosting.co.za> |
2012-05-25 11:02:16 | kristjan.jonsson | link | issue14911 messages |
2012-05-25 11:02:16 | kristjan.jonsson | create | |
|