Gabriel Genellina schrieb:
> At Thursday 4/1/2007 23:52, jeremito wrote:
> 
>> I am writing a class that is intended to be subclassed.  What is the
>> proper way to indicate that a sub class must override a method?
> 
> If any subclass *must* override a method, raise NotImplementedError in
> the base class (apart from documenting how your class is supposed to be
> used).
> 
> 

I learn so much from this list. I didn't even know this error existed.

Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to