This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients docs@python, kristjan.jonsson
Date 2012-05-25.11:02:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337943736.85.0.146138312281.issue14911@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-05-25 11:02:16kristjan.jonssonsetrecipients: + kristjan.jonsson, docs@python
2012-05-25 11:02:16kristjan.jonssonsetmessageid: <1337943736.85.0.146138312281.issue14911@psf.upfronthosting.co.za>
2012-05-25 11:02:16kristjan.jonssonlinkissue14911 messages
2012-05-25 11:02:16kristjan.jonssoncreate