(self, other)
| 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(): |
nothing calls this directly
no test coverage detected