Message132559
The 2.7 doc actually says that the two arguments to cmp are list items, rather than list items or keys "cmp specifies a custom comparison function of two arguments (list items)". And this "In general, the key and reverse conversion processes are much faster than specifying an equivalent cmp function." sort of suggests one or the other (but not both). That said, given the absence of overt problems, I agree with
> We may be doing them a disservice by suggesting otherwise. |
|
Date |
User |
Action |
Args |
2011-03-30 00:15:21 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, docs@python |
2011-03-30 00:15:21 | terry.reedy | set | messageid: <1301444121.31.0.845299514982.issue11712@psf.upfronthosting.co.za> |
2011-03-30 00:15:20 | terry.reedy | link | issue11712 messages |
2011-03-30 00:15:19 | terry.reedy | create | |
|