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)
| 656 | return getattr(_signal, name) |
| 657 | |
| 658 | def reset(self, *signal_names): |
| 659 | """Reset signals to the default signal handler. |
| 660 | |
| 661 | Does nothing if the platform has no support for signals, |
| 662 | or the specified signal in particular. |
| 663 | """ |
| 664 | self.update((sig, self.default) for sig in signal_names) |
| 665 | |
| 666 | def ignore(self, *names): |
| 667 | """Ignore signal using :const:`SIG_IGN`. |