diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-04-20 23:45:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 23:45:56 -0400 |
commit | e7a0be4df68346ac15626c20c4a19c8fabb1bf49 (patch) | |
tree | 48fa71dec63e32b876dfe5e733367aef258892f5 /cmd2/ansi.py | |
parent | 85bb29b7edfc6485556f398ddb192c16d1509856 (diff) | |
parent | ae946b70b24c61673e8b7c880ccbdf91768d456d (diff) | |
download | cmd2-git-e7a0be4df68346ac15626c20c4a19c8fabb1bf49.tar.gz |
Merge pull request #923 from python-cmd2/ipy_stop
ipy now returns its PyBridge's stop value
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 |