predefined empty base class ??
robert
no-spam at no-spam-no-spam.invalid
Thu Jan 18 04:00:02 EST 2007
Gabriel Genellina wrote:
> At Wednesday 17/1/2007 15:34, Dennis Lee Bieber wrote:
>
>> > is there an predefined empty base class
>> > which I can instanziate to have an
>> > container i can copy attributes in?
>>
>> I think that's a two-liner...
>>
>> >>> class EmptyBase(object):
>> ... pass
>
> Do you want a one liner?
>
> class EmptyBase(object): pass
>
> :)
Isn't "predefined" a zero liner :-;
More information about the Python-list
mailing list