repr_multiline_str

repr_multiline_str#

repr_multiline_str(to_str: Any, nof_tabs: int) str[source]#

Format multiline string repr of a list, dict… by adding tabs at the beginning of every new line.

Begins with a new line.

Parameters:
  • to_str (Any) – List, dict… to convert to tabbed string

  • nof_tabs (int) – Number of tabs to put at the beginning of the lines

Returns: