(self)
| 456 | ) |
| 457 | |
| 458 | def pairs(self) -> Generator[list[tuple[str, str]], None, None]: |
| 459 | for v1, v2 in perm2(list(self.v2e.keys())): # pylint: disable=g-builtin-op |
| 460 | if v1 == self.const or v2 == self.const: |
| 461 | continue |
| 462 | yield v1, v2 |
| 463 | |
| 464 | def modulo(self, e: dict[str, float]) -> dict[str, float]: |
| 465 | return strip(e) |