summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matusiak <numerodix@gmail.com>2021-05-05 17:01:28 +1000
committerMartin Matusiak <numerodix@gmail.com>2021-05-05 17:01:28 +1000
commitd11ec07920e8a727efc0adf155f09d1e79e61d39 (patch)
tree255392faeb1013213b5158f8863af2d848950c9e
parent7bd2c5a22ba169262affa4b3336d73fadd4aa67e (diff)
downloadansicolor-d11ec07920e8a727efc0adf155f09d1e79e61d39.tar.gz
fix malformed docstring
-rw-r--r--ansicolor/ansicolor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansicolor/ansicolor.py b/ansicolor/ansicolor.py
index 75f34e6..4d58bf5 100644
--- a/ansicolor/ansicolor.py
+++ b/ansicolor/ansicolor.py
@@ -151,6 +151,7 @@ def get_code_v2(color, bold=False, reverse=False, underline=False, blink=False):
"""
Returns the escape code for styling with the given color,
in bold and/or reverse.
+
:param color: The color to use.
:type color: :class:`Colors` class
:param bool bold: Whether to mark up in bold.
@@ -223,6 +224,7 @@ def colorize_v2(
):
"""
Colorize a string with the color given.
+
:param string s: The string to colorize.
:param color: The color to use.
:type color: :class:`Colors` class