From 0c6c9645d2a5ee85d3eac24b38d3e4c80ffe52a4 Mon Sep 17 00:00:00 2001 From: Lasse Edfast Date: Sat, 20 Sep 2025 14:20:03 +0200 Subject: [PATCH] Added documentation for single_line --- colorprinter/print_color.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorprinter/print_color.py b/colorprinter/print_color.py index 4e1f4bf..753079f 100644 --- a/colorprinter/print_color.py +++ b/colorprinter/print_color.py @@ -81,7 +81,7 @@ def print_rainbow(*args, single_line=False): - If the argument is a list, each element in the list will be printed in a different color. - If the argument is a dictionary, each key-value pair will be printed in a different color. - If the argument is a string or any other type, it will be printed in a different color. - + single_line (bool): If True, prints each item on a new line. Default is False. Returns: None """