File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ class Colour(str):
9696 """
9797 An ANSI escape sequence representing a colour.
9898
99+ The colour can be used as a context manager, a string, or a function.
100+
99101 :param style: Escape sequence representing the style.
100102 :type style: str
101103 :param stack: The stack to place the escape sequence on.
@@ -220,6 +222,8 @@ class AnsiFore(AnsiCodes):
220222 """
221223 ANSI Colour Codes for foreground colour.
222224
225+ The colours can be used as a context manager, a string, or a function.
226+
223227 Valid values are:
224228
225229 * BLACK
@@ -269,6 +273,8 @@ class AnsiBack(AnsiCodes):
269273 """
270274 ANSI Colour Codes for background colour.
271275
276+ The colours can be used as a context manager, a string, or a function.
277+
272278 Valid values are:
273279
274280 * BLACK
You can’t perform that action at this time.
0 commit comments