/external/python/cpython3/Lib/ |
weakref.py | 73 def __eq__(self, other): member in class:WeakMethod 77 return ref.__eq__(self, other) and self._func_ref == other._func_ref
|
/external/tensorflow/tensorflow/python/framework/ |
tensor_shape.py | 48 def __eq__(self, other): member in class:Dimension 826 def __eq__(self, other): member in class:TensorShape
|
/external/tensorflow/tensorflow/python/training/ |
input.py | 377 def __eq__(self, other): member in class:_SparseMetaData 392 return not self.__eq__(other) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_weakrefset.py | 169 def __eq__(self, other): member in class:WeakSet
|
collections.py | 202 def __eq__(self, other): member in class:OrderedDict 203 '''od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive 208 return dict.__eq__(self, other) and all(_imap(_eq, self, other)) 209 return dict.__eq__(self, other)
|
fractions.py | 527 def __eq__(a, b): member in class:Fraction
|
numbers.py | 157 def __eq__(self, other): member in class:Complex 163 # The default __ne__ doesn't negate __eq__ until 3.0.
|
sets.py | 108 # Three-way comparison is not supported. However, because __eq__ is 109 # tried before __cmp__, if Set x == Set y, x.__eq__(y) returns True and 121 # a Set and y contain's a non-set ("in" invokes only __eq__). 122 # Subtle: it would be nicer if __eq__ and __ne__ could return 126 # comparison (which would always return False for __eq__ and always 128 # *also* implements __cmp__: if, e.g., __eq__ returns NotImplemented, 131 def __eq__(self, other): member in class:BaseSet 554 self._data = set._data # Needed by ImmutableSet.__eq__()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/ |
pytree.py | 55 def __eq__(self, other): member in class:Base 81 This is called by __eq__ and __ne__. It is only called if the two nodes
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
mapping_tests.py | 568 def __eq__(self, other): member in class:TestHashMappingProtocol.test_getitem.BadEq 655 def __eq__(self, other): member in class:TestHashMappingProtocol.test_le.BadCmp
|
seq_tests.py | 215 def __eq__(self, other): member in class:CommonTest.test_contains_fake.AllEq 228 def __eq__(self, other): member in class:CommonTest.test_contains_order.StopCompares 345 def __eq__(self, other): member in class:CommonTest.test_count.BadCmp 373 def __eq__(self, other): member in class:CommonTest.test_index.BadCmp
|
test_binop.py | 196 def __eq__(self, other): member in class:Rat
|
test_class.py | 548 def __eq__(self, other): return 1 member in class:ClassTests.testHashStuff.C2 583 __eq__ = property(booh) variable in class:ClassTests.testForExceptionsRaisedInInstanceGetattr2.E 606 def __eq__(self, other): member in class:ClassTests.testHashComparisonOfMethods.A
|
test_fractions.py | 37 def __eq__(self, other): return self._richcmp(other, operator.eq) member in class:DummyFloat 64 def __eq__(self, other): member in class:DummyRational
|
test_functools.py | 383 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_lt.A 399 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_le.A 415 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_gt.A 431 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_ge.A 463 def __eq__(self, other): member in class:TestTotalOrdering.test_bug_10042.TestTO
|
test_hash.py | 62 def __eq__(self, other): member in class:OnlyEquality
|
test_index.py | 187 def __eq__(self, other): member in class:_BaseSeq
|
test_py3kwarn.py | 257 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq 260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 264 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq 267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 275 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree 282 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq 285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x") 289 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq 292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
|
test_richcmp.py | 19 def __eq__(self, other): member in class:Number 68 def __eq__(self, other): member in class:Vector 90 "eq": (lambda a,b: a==b, operator.eq, operator.__eq__), 197 def __eq__(self_, other): return 0 member in class:MiscTest.test_misbehavin.Misb 260 # Verify that __eq__ and __ne__ work for dicts even if the keys and 261 # values don't support anything other than __eq__ and __ne__ (and 307 def __eq__(self, other): member in class:ListTest.test_badentry.Bad
|
test_weakset.py | 22 def __eq__(self, other): member in class:SomeClass 28 return not self.__eq__(other)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_weakrefset.py | 169 def __eq__(self, other): member in class:WeakSet
|
collections.py | 202 def __eq__(self, other): member in class:OrderedDict 203 '''od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive 208 return dict.__eq__(self, other) and all(_imap(_eq, self, other)) 209 return dict.__eq__(self, other)
|
fractions.py | 527 def __eq__(a, b): member in class:Fraction
|
numbers.py | 157 def __eq__(self, other): member in class:Complex 163 # The default __ne__ doesn't negate __eq__ until 3.0.
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/ |
pytree.py | 55 def __eq__(self, other): member in class:Base 81 This is called by __eq__ and __ne__. It is only called if the two nodes
|