Janus Dam Nielsen <[EMAIL PROTECTED]> writes:

> Den 31/01/2008 kl. 14.21 skrev Martin Geisler:
>
>> If you just want to select between two methods, then this also works:
>>
>>   class Comb(Base, Mix1, Mix2):
>>       foo = Mix1.foo
>
> Brilliant!

Hehe, I think it's quite neat too :-)

Being able to write stuff like that is so typically Python... it is a
very flexible language that allows you to do almost anything you want.

-- 
Martin Geisler
_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Reply via email to