[wmltools] Fix Docstrings
docstrings of the keyboardinterrupt handler.
This commit is contained in:
parent
24098cb54a
commit
518becac59
2 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ def convertor(linefilter, arglist, exclude):
|
|||
|
||||
def sigint_handler(signal, frame):
|
||||
"""This function defines what happens when the SIGINT signal is encountered by pressing ctrl-c during runtime.
|
||||
When ctrl-c is pressed, a one-line message is displayed and Python exits with Status 0, which refers to successful termination.
|
||||
When ctrl-c is pressed, a one-line message is displayed and Python exits with Status 1.
|
||||
This overrides Python's default behavior of displaying a traceback when ctrl-c is pressed.
|
||||
"""
|
||||
print ('Aborted by pressing ctrl-c')
|
||||
|
|
|
@ -269,7 +269,7 @@ def main():
|
|||
|
||||
def sigint_handler(signal, frame):
|
||||
"""This function defines what happens when the SIGINT signal is encountered by pressing ctrl-c during runtime.
|
||||
When ctrl-c is pressed, a one-line message is displayed and Python exits with Status 0, which refers to successful termination.
|
||||
When ctrl-c is pressed, a one-line message is displayed and Python exits with Status 1.
|
||||
This overrides Python's default behavior of displaying a traceback when ctrl-c is pressed.
|
||||
"""
|
||||
print ('Aborted by pressing ctrl-c')
|
||||
|
|
Loading…
Add table
Reference in a new issue