]> granicus.if.org Git - python/commit
Use == rather than cmp(). The return value of cmp() is not well defined when
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 3 Jan 2001 02:13:26 +0000 (02:13 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 3 Jan 2001 02:13:26 +0000 (02:13 +0000)
commite7e694fd22fd68f39d359b3d1d5a1f0ebb4ec265
tree6a99b5249ee3b6da0283fcadd8b615c5feca12c0
parent38796d07a535618a9c12217c3d6d5d0309fceed5
Use == rather than cmp().  The return value of cmp() is not well defined when
comparing different types.
Lib/test/output/test_compare
Lib/test/test_compare.py