(self)
| 421 | return False |
| 422 | |
| 423 | def __sizeof__(self) -> int: |
| 424 | all_slots = self.get_all_slots() |
| 425 | return sum(sizeof(getattr(self, sl)) for sl in all_slots) + sys.getsizeof( |
| 426 | type(self) |
| 427 | ) |
| 428 | |
| 429 | def substitute( |
| 430 | self, subs: dict[KeyType, KeyType | GraphNode], key: KeyType | None = None |
no test coverage detected