Added documentation for single_line

main
Lasse Edfast 5 months ago
parent ee3cd08c1d
commit 0c6c9645d2
  1. 2
      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 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 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. - 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: Returns:
None None
""" """

Loading…
Cancel
Save