comparison between non-comparable objects

Kelvin Li ltwisabc at gmail.com
Tue Jan 8 06:28:07 CET 2013


The language reference says:

"...the choice whether one object [of built-in type] is considered
smaller or larger than another one is made arbitrarily..."

but that seems to be Python 2 behavior; Python 3 apparently raises a
TypeError. Does the documentation need updating?

Thanks,
Kelvin




More information about the Python-list mailing list