A better self

Duncan Booth duncan at NOSPAMrcp.co.uk
Wed Jul 10 06:20:15 EDT 2002


Erik Max Francis <max at alcyone.com> wrote in 
news:3D2BD37D.8CF82AE at alcyone.com:

> Matt Gerrans wrote:
> 
>> In keeping with that concept, '..' would be referring to the base
>> class
>> (equivalent to java's "super").
> 
> I think that's definitely mixing metaphors.  For one thing, which base
> class?  Python supports multiple inheritance.
> 
Python already has a 'super' which works properly with multiple 
inheritance, so presumably it would be a shorthand for super with 
appropriate arguments rather than referring to a specific base class.

-- 
Duncan Booth                                             duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?



More information about the Python-list mailing list