Raise X or Raise X()?

Chris Angelico rosuav at gmail.com
Mon Mar 12 09:13:57 EDT 2012


On Tue, Mar 13, 2012 at 12:06 AM, James Elford <fil.oracle at gmail.com> wrote:
> I wonder whether you need to use an exception here rather than a yield
> statement?

Or a return statement, if you're not needing multiple responses.

ChrisA



More information about the Python-list mailing list