/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | fractions.py | 508 def __hash__(self): member in class:Fraction
|
H A D | numbers.py | 23 __hash__ = None variable in class:Number
|
H A D | sets.py | 319 # We inherit object.__hash__, so we must deny this explicitly 320 __hash__ = None variable in class:BaseSet 334 # not called __hash__ because a BaseSet should not be hashable; 392 def __hash__(self): member in class:ImmutableSet 556 def __hash__(self): member in class:_TemporarilyImmutableSet
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | mapping_tests.py | 570 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadEq 579 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadHash 607 def __hash__(self): member in class:TestHashMappingProtocol.test_pop.BadHash 657 def __hash__(self): member in class:TestHashMappingProtocol.test_le.BadCmp 676 def __hash__(self): member in class:TestHashMappingProtocol.test_setdefault.BadHash
|
H A D | seq_tests.py | 217 __hash__ = None # Can't meet hash invariant requirements variable in class:CommonTest.test_contains_fake.AllEq
|
H A D | test_binop.py | 211 __hash__ = None variable in class:Rat
|
H A D | test_class.py | 84 def __hash__(self, *args): member in class:AllTests 400 self.assertCallStack([('__hash__', (testme,))]) 535 # no __hash__ 608 def __hash__(self): member in class:ClassTests.testHashComparisonOfMethods.A
|
H A D | test_coercion.py | 313 __hash__ = None # Invalid cmp makes this unhashable variable in class:CoercionTest.test_cmptypes.WackyComparer
|
H A D | test_fractions.py | 53 __hash__ = None variable in class:DummyFloat 89 __hash__ = None variable in class:DummyRational
|
H A D | test_hash.py | 53 _default_hash = object.__hash__ 58 def __hash__(self): member in class:FixedHash 65 __hash__ = None variable in class:OnlyEquality 66 del OnlyEquality.__hash__ 76 __hash__ = None variable in class:OnlyCmp 77 del OnlyCmp.__hash__ 84 __hash__ = None variable in class:NoHash 141 _default_hash = object.__hash__
|
H A D | test_richcmp.py | 51 __hash__ = None # Vectors cannot be hashed variable in class:Vector 262 # __hash__). Complex numbers are a fine example of that.
|
H A D | test_sort.py | 73 __hash__ = None # Silence Py3k warning variable in class:TestBase.testStressfully.Stable
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
H A D | test_discovery.py | 109 __hash__ = None variable in class:TestDiscovery.test_find_tests_with_package.Module
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
H A D | UserString.py | 27 def __hash__(self): return hash(self.data) member in class:UserString 144 __hash__ method inherited from UserString. This would lead to 154 # We inherit object.__hash__, so we must deny this explicitly 155 __hash__ = None variable in class:MutableString
|
H A D | _abcoll.py | 36 def __hash__(self): member in class:Hashable 44 if "__hash__" in B.__dict__: 45 if B.__dict__["__hash__"]: 50 if getattr(C, "__hash__", None): 226 __hash__ = None variable in class:Set 231 Note that we don't define __hash__: not all sets are hashable. 232 But if you define a hashable set type, its __hash__ should 240 freedom for __eq__ or __hash__. We match the algorithm used 402 __hash__ = None variable in class:Mapping
|
H A D | mhlib.py | 806 def __hash__(self): member in class:IntSet
|
H A D | uuid.py | 185 def __hash__(self): member in class:UUID
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/ |
H A D | pytree.py | 65 __hash__ = None # For Py3 compatibility. variable in class:Base
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
H A D | test_complex.py | 123 __hash__ = None variable in class:ComplexTest.test_no_implicit_coerce.A
|
H A D | test_py3kwarn.py | 260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 270 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash 276 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree 285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 295 def __hash__(self): pass member in class:TestPy3KWarnings.test_hash_inheritance.NoWarningOnlyHash
|
H A D | test_weakset.py | 30 def __hash__(self): member in class:SomeClass 191 def __hash__(self): member in class:TestWeakSet.test_subclass_with_custom_hash.H
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
H A D | UserString.py | 27 def __hash__(self): return hash(self.data) member in class:UserString 144 __hash__ method inherited from UserString. This would lead to 154 # We inherit object.__hash__, so we must deny this explicitly 155 __hash__ = None variable in class:MutableString
|
H A D | _abcoll.py | 36 def __hash__(self): member in class:Hashable 44 if "__hash__" in B.__dict__: 45 if B.__dict__["__hash__"]: 50 if getattr(C, "__hash__", None): 226 __hash__ = None variable in class:Set 231 Note that we don't define __hash__: not all sets are hashable. 232 But if you define a hashable set type, its __hash__ should 240 freedom for __eq__ or __hash__. We match the algorithm used 402 __hash__ = None variable in class:Mapping
|
H A D | mhlib.py | 806 def __hash__(self): member in class:IntSet
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/ |
H A D | pytree.py | 65 __hash__ = None # For Py3 compatibility. variable in class:Base
|