summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-21 14:41:28 -0400
committerGitHub <noreply@github.com>2018-09-21 14:41:28 -0400
commit02a319fb88dc873b8325d207213c6ef5e27779a6 (patch)
treec544b6f531feef4c983e861ad5ef5d79ce980d01 /cmd2/utils.py
parent69b16f1631c0f808964d797d84a943c862284ab5 (diff)
parentdbe485957b421f6fd973b3a493de7b264b363d54 (diff)
downloadcmd2-git-02a319fb88dc873b8325d207213c6ef5e27779a6.tar.gz
Merge branch 'master' into colorize
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py2
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)