Re: compare classes and not class instances
Awesome! Perfect! Thanks Janto -- http://mail.python.org/mailman/listinfo/python-list
Re: compare classes and not class instances
[EMAIL PROTECTED] wrote: > I not only want to compare class *instances* but also the classes > themselves. Something like: > sorted([B, A]) => [A, B] > > My motivation for doing so is simply to sort classes based on their > names and not (as it seems is the default behaviour) on the order in >