def dedent(text, *args, **kw):
    dedented_text = textwrap.dedent(text)
    trimmed_text = trim_empty_lines(dedented_text)
    return format(trimmed_text, *args, **kw)
Dedent a string (remove common leading whitespace from all lines).
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/text.py/dedent