Lines Matching refs:hash
54 # "hash",
75 return hash(id(self))
374 hash(testme)
479 # Test correct errors from hash() on objects with comparisons but
485 hash(C0()) # This should work; the next two should raise TypeError
490 self.assertRaises(TypeError, hash, C2())
548 # Test comparison and hash of methods
572 self.assertEqual(hash(a1.f), hash(a1.f))
581 self.assertEqual(hash(B.f), hash(A.f))
584 a = A(hash(A.f)^(-1))
585 hash(a.f)