[Python-3000] removing exception .args (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jul 22 02:47:36 CEST 2007
- Previous message: [Python-3000] removing exception .args
- Next message: [Python-3000] removing exception .args
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] removing exception .args
- Next message: [Python-3000] removing exception .args
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]