From 5f6d291729be65884bf5639c10508d08cbe3906c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 23 Sep 2021 22:39:09 -0700 Subject: [PATCH] Fix docstring wrapping. --- voussoirkit/pipeable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voussoirkit/pipeable.py b/voussoirkit/pipeable.py index 46bda27..459a89a 100644 --- a/voussoirkit/pipeable.py +++ b/voussoirkit/pipeable.py @@ -32,9 +32,9 @@ class NoArguments(PipeableException): def ctrlc_return1(function): ''' - Apply this decorator to your argparse gateways, and if the user presses - ctrl+c then the gateway will return 1 as its status code without the - stacktrace appearing. + Apply this decorator to your argparse gateways or main function, and if the + user presses ctrl+c then the gateway will return 1 as its status code + without the stacktrace appearing. This helps me avoid wrapping the entire function in a try-except block.