(self, data)
| 81 | self._signal_handlers.clear() |
| 82 | |
| 83 | def _process_self_data(self, data): |
| 84 | for signum in data: |
| 85 | if not signum: |
| 86 | # ignore null bytes written by _write_to_self() |
| 87 | continue |
| 88 | self._handle_signal(signum) |
| 89 | |
| 90 | def add_signal_handler(self, sig, callback, *args): |
| 91 | """Add a handler for a signal. UNIX only. |
nothing calls this directly
no test coverage detected