]> granicus.if.org Git - python/commit
* Add __eq__ and __ne__ so that things like list.index() work properly
authorRaymond Hettinger <python@rcn.com>
Mon, 5 Jul 2004 22:53:03 +0000 (22:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 5 Jul 2004 22:53:03 +0000 (22:53 +0000)
commit0aeac107cadd1472e5ea109f7f29e6a6527ae1ec
tree4d0d33fdc1199cdc32794cdfcc20b2f90a44f4b9
parent10959b1c2acb48ebcdc909421354543043cfd671
* Add __eq__ and __ne__ so that things like list.index() work properly
  for lists of mixed types.
* Test that sort works.
Lib/decimal.py
Lib/test/test_decimal.py