overriding methods - two questions

Donn Ingle donn.ingle at gmail.com
Sat Nov 17 03:07:56 EST 2007


> This is strictly a documentation matter, in my mind. Python does not
> offer any means to enforce the calling sequence of an "override method".
Yes, I hear you.
 
> You might be able to wrap YOUR calling code with a try/except block
> to trap errors if the callback doesn't like the "documented API"
> arguments.
Good plan. Thanks, dunno why I didn't think of that!

/d




More information about the Python-list mailing list