import textwrap


def dedent(docstring):
    """Dedent a Python docstring treating the first line special.

    This function uses textwrap.dedent() but assumes that the first
    line is not indented.
    """
    lines = docstring.splitlines()
    return '\n'.join((lines[0], textwrap.dedent('\n'.join(lines[1:])),))