Hierarchy of types ?

Jeff Epler jepler at unpythonic.net
Fri Apr 25 16:26:41 EDT 2003


Comparison of objects of the same type depends on the type:
[...]
* Most other types compare unequal unless they are the same object; the
  choice whether one object is considered smaller or larger than another one
  is made arbitrarily but consistently within one execution of a program.

  -- http://python.org/doc/ref/comparisons.html

Jeff





More information about the Python-list mailing list