Ignore signal using :const:`SIG_IGN`. Does nothing if the platform has no support for signals, or the specified signal in particular.
(self, *names)
| 664 | self.update((sig, self.default) for sig in signal_names) |
| 665 | |
| 666 | def ignore(self, *names): |
| 667 | """Ignore signal using :const:`SIG_IGN`. |
| 668 | |
| 669 | Does nothing if the platform has no support for signals, |
| 670 | or the specified signal in particular. |
| 671 | """ |
| 672 | self.update((sig, self.ignored) for sig in names) |
| 673 | |
| 674 | def __getitem__(self, name): |
| 675 | return _signal.getsignal(self.signum(name)) |