diff options
author | Micah Nordland <micah@rehack.me> | 2016-01-26 13:16:32 -0500 |
---|---|---|
committer | Micah Nordland <micah@rehack.me> | 2016-01-26 13:16:32 -0500 |
commit | 46bac13444fb0715d4a8980aa7235b8dd85c493d (patch) | |
tree | 5ce186b4c485e2d152cd2d9b874b4f921f3cf452 /alot | |
parent | 75061e84d5b4d92bbadb45f5547883dace2c8dd1 (diff) |
Added function docstring to UI.handle_signal
Diffstat (limited to 'alot')
-rw-r--r-- | alot/ui.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -641,6 +641,15 @@ class UI(object): d.addCallback(call_posthook) return d def handle_signal(self, signum, frame): + """ + handles UNIX signals + + This function currently just handles SIGUSR1. It could be extended to + handle more + + :param signum: The signal number (see man 7 signal) + :param frame: The execution frame (https://docs.python.org/2/reference/datamodel.html#frame-objects) + """ self.current_buffer.rebuild() self.update() |