From 4f9596f205d9947b5abf93b5295ff623470cf52e Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Mon, 12 Jun 2023 21:27:59 -0700 Subject: [PATCH] Fix typo. --- src/pyutils/argparse_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyutils/argparse_utils.py b/src/pyutils/argparse_utils.py index aa48899..fec7d36 100644 --- a/src/pyutils/argparse_utils.py +++ b/src/pyutils/argparse_utils.py @@ -452,8 +452,7 @@ def valid_duration(txt: str) -> datetime.timedelta: txt: data passed to a commandline arg expecting a duration. Returns: - The datetime.timedelta described by txt - on error. + The datetime.timedelta described by txt. Raises: ArgumentTypeError: parse error (e.g. invalid duration string) -- 2.47.1