]> granicus.if.org Git - python/commit
Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).
authorMark Dickinson <dickinsm@gmail.com>
Sat, 13 Nov 2010 10:27:38 +0000 (10:27 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 13 Nov 2010 10:27:38 +0000 (10:27 +0000)
commitfec6620dfb9b7e99b68c07b623235f87f5fd1a60
tree36c6d0c627256a1dd1efb9d866e232271336d77b
parent24854cac996ebe2f534cbe58b141fe51fd2d8d0e
Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).
Lib/fractions.py
Lib/test/test_fractions.py
Misc/NEWS