[Python-3000] removing exception .args
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Jul 22 02:47:36 CEST 2007
Nick Coghlan wrote:
> Putting the essential parts in
> __new__ means never having to include the instruction that "you must
> call this classes __init__ method when subclassing and overriding
> __init__" into any API documentation I write.
I always assume that I *do* have to call the base __init__
if I override it, unless something explicitly says that
I don't. And I assume other people follow the same rule,
so I don't feel obliged to spell it out when I document
my own classes.
--
Greg
More information about the Python-3000
mailing list