Raise X or Raise X()?

bvdp bob at mellowood.ca
Mon Mar 12 02:53:06 CET 2012

Thanks all for the comments.

> Personally, I used "raise X" to mean "this doesn't need arguments and 
> should never have any" and "raise X()" to mean "this needs arguments but 
> I'm too lazy to provide them right now". Think of it as a FIXME.

Yes, that makes as much sense as anything else :)

More information about the Python-list mailing list