diff options
author | kmvanbrunt <kmvanbrunt@gmail.com> | 2018-09-21 12:00:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 12:00:39 -0400 |
commit | 1a5967e747cfd6ffdd8c87a4ed5206d6018a1240 (patch) | |
tree | 4a76899ce4095e54a6df3face436b6fb242cbee4 /cmd2/utils.py | |
parent | 89097505f50d295a3879b3be3eec45bcdb9d08eb (diff) | |
parent | ad510a64532a6b7855b0c494ed1a24a68bd7b24e (diff) | |
download | cmd2-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.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) |