summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorkmvanbrunt <kmvanbrunt@gmail.com>2018-09-21 12:00:39 -0400
committerGitHub <noreply@github.com>2018-09-21 12:00:39 -0400
commit1a5967e747cfd6ffdd8c87a4ed5206d6018a1240 (patch)
tree4a76899ce4095e54a6df3face436b6fb242cbee4 /cmd2/utils.py
parent89097505f50d295a3879b3be3eec45bcdb9d08eb (diff)
parentad510a64532a6b7855b0c494ed1a24a68bd7b24e (diff)
downloadcmd2-git-1a5967e747cfd6ffdd8c87a4ed5206d6018a1240.tar.gz
Merge pull request #531 from python-cmd2/typehints
Removed remaining type hints in docstrings
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)