multiple inheritance from list and other class

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Jan 8 01:41:14 EST 2012


On 2012年1月07日 22:08:22 -0800, 88888 Dihedral wrote:
[...]
> The class is defined in a silly way.
> In python declaring a class with only trivial properties added is not
> very python at all.

The example given looks like a Mixin class, which is perfectly acceptable 
in Python.
-- 
Steven


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /