(self, last=True)
| 624 | |
| 625 | # The second argument is an addition that causes a pylint warning. |
| 626 | def pop(self, last=True): # pylint: disable=W0221 |
| 627 | if not self: |
| 628 | raise KeyError("set is empty") |
| 629 | key = self.end[1][0] if last else self.end[2][0] |
| 630 | self.discard(key) |
| 631 | return key |
| 632 | |
| 633 | def __repr__(self): |
| 634 | if not self: |