(self, other)
| 13 | return f'{type(self).__name__}({self.name!r}, {self.shares!r}, {self.price!r})' |
| 14 | |
| 15 | def __eq__(self, other): |
| 16 | return isinstance(other, Stock) and ((self.name, self.shares, self.price) == |
| 17 | (other.name, other.shares, other.price)) |
| 18 | |
| 19 | @classmethod |
| 20 | def from_row(cls, row): |
nothing calls this directly
no outgoing calls
no test coverage detected