(unused_signum, unused_frame)
| 17 | # Not quite the same thing as SIG_IGN, but the closest we |
| 18 | # can make it: do nothing. |
| 19 | def default_handler(unused_signum, unused_frame): |
| 20 | pass |
| 21 | else: |
| 22 | raise TypeError("expected SIGINT signal handler to be " |
| 23 | "signal.SIG_IGN, signal.SIG_DFL, or a " |