On Fr, 2009-12-04 at 08:21 +0100, spir wrote:
> By the way, is there any reason why the compare func parameter is called 
> 'key'?

I'd guess because what you provide creates keys for the values in the
collection to sort them by. What else to call it? "Comparators" compare
two values, "hashes" don't need to provide information relevant to
ordering, and "indexes" are not directly related to the value at all.


Cheers,

Alan

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to