]> granicus.if.org Git - python/commit
Add test that ensures hash() of objects defining __cmp__ or __eq__ but
authorGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 23:47:15 +0000 (23:47 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 23:47:15 +0000 (23:47 +0000)
commit2312024eb734a82bd9f190d21a18f693c5815725
treef042283f63b7701a6d10a268f913ecad8a75c50f
parent65e8bd7fd5af5de8e6354832d5c00e7cc9dff7ab
Add test that ensures hash() of objects defining __cmp__ or __eq__ but
not __hash__ raises TypeError.
Lib/test/test_class.py