Lines Matching refs:hash
60 return hash(self.arg)
481 hash(weakref.proxy(obj))
488 hash(weakref.proxy(obj))
903 # Alive weakrefs hash the same as the underlying object
908 self.assertEqual(hash(a), hash(42))
912 # - retain their hash is they were hashed when alive;
914 self.assertEqual(hash(a), hash(42))
915 self.assertRaises(TypeError, hash, b)
1201 self.assertEqual(hash(a), hash(b))
1202 ha = hash(a)
1203 # Dead WeakMethods retain their old hash value
1206 self.assertEqual(hash(a), ha)
1207 self.assertEqual(hash(b), ha)
1209 self.assertRaises(TypeError, hash, c)
1795 return hash(self.value)