Method: rich.style.Style.__eq__
Calls: 2326, Exceptions: 0, Paths: 2Back
Path 1: 2323 calls (1.0)
Style (2323)
True (2317) False (6)
1def __eq__(self, other: Any) -> bool:
2 if not isinstance(other, Style):
3 return NotImplemented
4 return self.__hash__() == other.__hash__()
Path 2: 3 calls (0.0)
None (2) 'foo' (1)
NotImplementedType (3)
1def __eq__(self, other: Any) -> bool:
2 if not isinstance(other, Style):
3 return NotImplemented
4 return self.__hash__() == other.__hash__()