From: Scott Gasch Date: Tue, 13 Jun 2023 04:27:59 +0000 (-0700) Subject: Fix typo. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=4f9596f205d9947b5abf93b5295ff623470cf52e;p=pyutils.git Fix typo. --- 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)