import textwrap


def split_doc(txt):
    """Split a docstring into a first line + rest blurb"""

    short, rest = txt.split("\n", 1)

    short = short.strip()
    rest = textwrap.dedent(rest.rstrip())
    return short, rest