Inheritance but only partly?

Peter Otten __peter__ at web.de
Fri Oct 3 05:51:59 EDT 2008


greg wrote:

>> class Mask(object):
>> def m3(self): raise NotImplementedError
>> def m4(self): raise NotImplementedError
> 
>> What's the name of this python design pattern? :-)
> 
> Don't know. Perhaps we could call it the FigLeaf pattern
> (covering up what you don't want seen)?

Braghettone ;)



More information about the Python-list mailing list