Bruno Desthuilliers wrote:
Frank Millman wrote:
better raising NotImplementedError. Makes things more obvious IMHO.
Frank Millman wrote:
I have not gone to the trouble of raising NotImplementedError - the
methods that the subclasses *must* override just have a 'pass'
statement. I guess it would be more correct to raise the error, as it
would give me a quicker indication of an error if I happened to omit
one, but in practice I would find out pretty quickly anyway.
Mmm... My own experience is that methods that *must* be redefined aremethods that the subclasses *must* override just have a 'pass'
statement. I guess it would be more correct to raise the error, as it
would give me a quicker indication of an error if I happened to omit
one, but in practice I would find out pretty quickly anyway.
better raising NotImplementedError. Makes things more obvious IMHO.
all :-)
Frank