MCPcopy Create free account
hub / github.com/archlinux/archinstall / __ne__

Method __ne__

archinstall/lib/models/device.py:499–503  ·  view source on GitHub ↗
(self, other: object)

Source from the content-addressed store, hash-verified

497
498 @override
499 def __ne__(self, other: object) -> bool:
500 if not isinstance(other, Size):
501 return NotImplemented
502
503 return self._normalize() != other._normalize()
504
505 def __gt__(self, other: Self) -> bool:
506 return self._normalize() > other._normalize()

Callers

nothing calls this directly

Calls 1

_normalizeMethod · 0.95

Tested by

no test coverage detected