MCPcopy Create free account
hub / github.com/apache/trafficserver / __eq__

Method __eq__

tests/gold_tests/autest-site/ordered_set_queue.py:91–94  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

89 return '%s(%r)' % (self.__class__.__name__, list(self))
90
91 def __eq__(self, other):
92 if isinstance(other, OrderedSet):
93 return len(self) == len(other) and list(self) == list(other)
94 return set(self) == set(other)
95
96
97class OrderedSetQueue(Queue.Queue):

Callers

nothing calls this directly

Calls 2

listFunction · 0.85
setFunction · 0.85

Tested by

no test coverage detected