Fix typo.
authorScott Gasch <[email protected]>
Tue, 13 Jun 2023 04:27:59 +0000 (21:27 -0700)
committerScott Gasch <[email protected]>
Tue, 13 Jun 2023 04:27:59 +0000 (21:27 -0700)
src/pyutils/argparse_utils.py

index aa48899dd16c2e9e7d2997def4ea2bfcf39aa8c2..fec7d36ecc1a6178735d0559dd7308ac44b76874 100644 (file)
@@ -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)