]> granicus.if.org Git - python/commit
OK, changed my mind once more on this. The comparison hierarchy is
authorGuido van Rossum <guido@python.org>
Mon, 22 Jan 2001 19:30:07 +0000 (19:30 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Jan 2001 19:30:07 +0000 (19:30 +0000)
commit7f9b5e014ba2f75c76c2564b2f46367fccf813d0
treea48383eab19d5a97ced68bf6e0bc598dc7d47c3b
parent0871e9315ec2395775f600baedacdcbcd4cb5f5c
OK, changed my mind once more on this.  The comparison hierarchy is
now

    None < all numeric types < all other types

so that once again

    map(max, Squares(3), Squares(2))

equals

    [0, 1, 4]
Lib/test/test_b1.py