Raise X or Raise X()?

bvdp bob at mellowood.ca
Sun Mar 11 21:53:06 EDT 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