MCPcopy Create free account
hub / github.com/python-hyper/uritemplate / __eq__

Method __eq__

uritemplate/orderedset.py:88–92  ·  view source on GitHub ↗
(self, other: object)

Source from the content-addressed store, hash-verified

86 return self.__repr__()
87
88 def __eq__(self, other: object) -> bool:
89 if isinstance(other, OrderedSet):
90 return len(self) == len(other) and list(self) == list(other)
91 other = t.cast(t.Iterable[str], other)
92 return not self.isdisjoint(other)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected