def get_first_para(s):
    """Get the first para of a docstring"""
    first_lines = []
    for row in s.strip().splitlines():
        if not row:
            break
        else:
            first_lines.append(row)
    r = ' '.join(first_lines).strip()
    if r.endswith(':'):
        r = r[:-1] + '.'
    return r
