Returns true if `other` has a different known value from `self`.
(self, other)
| 215 | return self._value == other.value |
| 216 | |
| 217 | def __ne__(self, other): |
| 218 | """Returns true if `other` has a different known value from `self`.""" |
| 219 | try: |
| 220 | other = as_dimension(other) |
| 221 | except (TypeError, ValueError): |
| 222 | return NotImplemented |
| 223 | if self._value is None or other.value is None: |
| 224 | return None |
| 225 | return self._value != other.value |
| 226 | |
| 227 | def __int__(self): |
| 228 | return self._value |
nothing calls this directly
no test coverage detected