(self, other)
| 116 | return "%s(%s)" % (self.__class__.__name__, self._command_args()) |
| 117 | |
| 118 | def __eq__(self, other): |
| 119 | # type: (Any) -> bool |
| 120 | x = self._fix() |
| 121 | y = other._fix() if isinstance(other, VolatileValue) else other |
| 122 | if not isinstance(x, type(y)): |
| 123 | return False |
| 124 | return bool(x == y) |
| 125 | |
| 126 | def __ne__(self, other): |
| 127 | # type: (Any) -> bool |