list.sorted()

Robert Brewer fumanchu at amor.org
Sun Dec 7 06:14:27 CET 2003


> >reverse is not true: you can't call normal instance methods from the
> >class--you get a TypeError by not passing an instance for 
> "self" to bind
> to.
> 
> Yes you can: explicitly pass an instance as first arg for 
> 'self' to bind to
> ;-)
> (or did I misunderstand your claim?)

Understood. The claim was more about the automagic passing of "self" (vs
"cls" in classmethod).


FuManChu





More information about the Python-list mailing list