summaryrefslogtreecommitdiff
path: root/cmd2/ansi.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-22 01:33:00 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-22 01:33:00 -0400
commitba5d7befdc7fe5ec95437a840ca83a612f041a93 (patch)
treeb59ca1e773ed661efa991c1d7962e1cdef5bcedf /cmd2/ansi.py
parent92c010d583b52be9728efca25c5f074a594e5392 (diff)
parente7a0be4df68346ac15626c20c4a19c8fabb1bf49 (diff)
downloadcmd2-git-ba5d7befdc7fe5ec95437a840ca83a612f041a93.tar.gz
Merge branch 'master' into table_creator
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r--cmd2/ansi.py4
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