Sorting a list of classes

Michael Hudson mwh21 at cam.ac.uk
Tue Apr 25 03:32:51 EDT 2000


"lexberezhny" <lexberezhny at email.msn.com> writes:

> If i have a python list of classes, can i do something like
> classList.sort() and how can i control this behavior within the
> classes.

Do you mean "class"?  In which case, no.  If you mean "instance", then
see the other replies...

Cheers,
M.

-- 
41. Some programming languages manage to absorb change, but 
    withstand progress.
     -- Alan Perlis, http://www.cs.yale.edu/~perlis-alan/quotes.html



More information about the Python-list mailing list