Inheritance but only partly?

Peter Otten __peter__ at
Fri Oct 3 11:51:59 CEST 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