Textwrap.dedent
You're seeing just the function
dedent
, go back to Textwrap module for more information.
Specs
Removes as much common leading whitespace as possible from each line.
Each non-empty line has an equal amount of whitespace removed from its start.
Empty lines (containing only whitespace) are normalized to a single \n
, with no other whitespace on the line.
Examples:
iex> Textwrap.dedent(" hello world")
"hello world"
iex> Textwrap.dedent("
...> foo
...> bar
...> baz
...> ")
"\nfoo\n bar\nbaz\n"