Clarity vs. code reuse/generality

kj at
Fri Jul 3 18:20:33 CEST 2009

In <h2l51m$jps$1 at> aahz at (Aahz) writes:

>First of all, cmp() is gone in Python 3, unfortunately, so I'd avoid
>using it.

Good to know.

>Second, assuming I understand your code correctly, I'd change
>"sense" to "direction" or "order".



More information about the Python-list mailing list