MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __eq__

Method __eq__

tensorflow/python/autograph/pyct/qual_names.py:166–169  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

164 return hash(self.qn + (self._has_attr, self._has_subscript))
165
166 def __eq__(self, other):
167 return (isinstance(other, QN) and self.qn == other.qn and
168 self.has_subscript() == other.has_subscript() and
169 self.has_attr() == other.has_attr())
170
171 def __str__(self):
172 if self.has_subscript():

Callers

nothing calls this directly

Calls 2

has_subscriptMethod · 0.95
has_attrMethod · 0.95

Tested by

no test coverage detected