diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-21 14:41:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 14:41:28 -0400 |
commit | 02a319fb88dc873b8325d207213c6ef5e27779a6 (patch) | |
tree | c544b6f531feef4c983e861ad5ef5d79ce980d01 /cmd2/utils.py | |
parent | 69b16f1631c0f808964d797d84a943c862284ab5 (diff) | |
parent | dbe485957b421f6fd973b3a493de7b264b363d54 (diff) | |
download | cmd2-git-02a319fb88dc873b8325d207213c6ef5e27779a6.tar.gz |
Merge branch 'master' into colorize
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r-- | cmd2/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py index 9d71d061..735221c8 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -89,7 +89,7 @@ def cast(current: Any, new: str) -> Any: """Tries to force a new value into the same type as the current when trying to set the value for a parameter. :param current: current value for the parameter, type varies - :param new: str - new value + :param new: new value :return: new value with same type as current, or the current value if there was an error casting """ typ = type(current) |