comparison between non-comparable objects

Kelvin Li ltwisabc at
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?


More information about the Python-list mailing list