summaryrefslogtreecommitdiff
path: root/cmd2/ansi.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-07 11:09:01 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-07 11:09:01 -0500
commit10b9f3eefa8eb0def7982d9e6b8245af6f0bf2d6 (patch)
treef06d428f37c8fa961cf4337365230eb955bbba4b /cmd2/ansi.py
parent27833adf43a586fea46c994f4b23c14ab8d88afc (diff)
downloadcmd2-git-10b9f3eefa8eb0def7982d9e6b8245af6f0bf2d6.tar.gz
Corrected docstring
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r--cmd2/ansi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py
index c3028894..8cbf7e37 100644
--- a/cmd2/ansi.py
+++ b/cmd2/ansi.py
@@ -30,7 +30,7 @@ ANSI_STYLE_RE = re.compile(r'\x1b\[[^m]*m')
class ColorBase(Enum):
"""
Base class for fg and bg classes
- This expects the base classes to define enums of: color name -> ANSI color sequence
+ This expects the child classes to define enums of: color name -> ANSI color sequence
"""
def __str__(self) -> str:
"""Return ANSI color sequence instead of enum name"""