]> granicus.if.org Git - python/commit
SF bug #800796: Difference between hash() and __hash__()
authorRaymond Hettinger <python@rcn.com>
Fri, 5 Sep 2003 14:27:30 +0000 (14:27 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 5 Sep 2003 14:27:30 +0000 (14:27 +0000)
commitb859c070efbf3c6fd5210c0ae0e4d5a3de4bf9b2
tree9f22bd1f76d59c4187760134b55237dc46accdc8
parenta1a1dba2d48a92ccd49fe7529bd5a02b5ada1cb2
SF bug #800796:  Difference between hash() and __hash__()

slice(5).__hash__() now raises a TypeError.
Lib/test/test_slice.py
Objects/sliceobject.c