Pop a ``(key, list)`` tuple from the dict.
(self)
| 530 | return super().pop(key, []) # type: ignore[return-value] |
| 531 | |
| 532 | def popitemlist(self) -> tuple[K, list[V]]: |
| 533 | """Pop a ``(key, list)`` tuple from the dict.""" |
| 534 | try: |
| 535 | return super().popitem() # type: ignore[return-value] |
| 536 | except KeyError as e: |
| 537 | raise exceptions.BadRequestKeyError(e.args[0]) from None |
| 538 | |
| 539 | def __copy__(self) -> te.Self: |
| 540 | return self.copy() |