diff options
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r-- | cmd2/ansi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py index ceb135ec..a6c09413 100644 --- a/cmd2/ansi.py +++ b/cmd2/ansi.py @@ -196,7 +196,7 @@ def fg_lookup(fg_name: Union[str, fg]) -> str: :param fg_name: foreground color name or enum to look up ANSI escape code(s) for :return: ANSI escape code(s) associated with this color - :raises ValueError: if the color cannot be found + :raises: ValueError: if the color cannot be found """ if isinstance(fg_name, fg): return fg_name.value @@ -214,7 +214,7 @@ def bg_lookup(bg_name: Union[str, bg]) -> str: :param bg_name: background color name or enum to look up ANSI escape code(s) for :return: ANSI escape code(s) associated with this color - :raises ValueError: if the color cannot be found + :raises: ValueError: if the color cannot be found """ if isinstance(bg_name, bg): return bg_name.value |