From 715af6059d06521c8f0054007a1105d211402d63 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Fri, 7 Feb 2020 15:40:12 -0500 Subject: Fixed docs error --- cmd2/ansi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd2/ansi.py') diff --git a/cmd2/ansi.py b/cmd2/ansi.py index f54abf0a..2813d62f 100644 --- a/cmd2/ansi.py +++ b/cmd2/ansi.py @@ -30,7 +30,8 @@ ANSI_STYLE_RE = re.compile(r'\x1b\[[^m]*m') class ColorBase(Enum): """ Base class used for defining color enums. See fg and bg classes for examples. - This expects the child classes to define enums of the follow structure + + Child classes should define enums in the follow structure: key: color name (e.g. black) value: anything that when cast to a string returns an ANSI sequence """ -- cgit v1.2.1