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

Method __eq__

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

Source from the content-addressed store, hash-verified

490
491 @override
492 def __eq__(self, other: object) -> bool:
493 if not isinstance(other, Size):
494 return NotImplemented
495
496 return self._normalize() == other._normalize()
497
498 @override
499 def __ne__(self, other: object) -> bool:

Callers

nothing calls this directly

Calls 1

_normalizeMethod · 0.95

Tested by

no test coverage detected