Reset signals to the default signal handler. Does nothing if the platform has no support for signals, or the specified signal in particular.
(self, *signal_names)
| 720 | return getattr(_signal, name) |
| 721 | |
| 722 | def reset(self, *signal_names): |
| 723 | """Reset signals to the default signal handler. |
| 724 | |
| 725 | Does nothing if the platform has no support for signals, |
| 726 | or the specified signal in particular. |
| 727 | """ |
| 728 | self.update((sig, self.default) for sig in signal_names) |
| 729 | |
| 730 | def ignore(self, *names): |
| 731 | """Ignore signal using :const:`SIG_IGN`. |