def _format_authors(paper):
    """Format the first three authors of a paper, append 'et al.' in case there is more than 3."""

    if paper.author is not None:

        author = " & ".join(paper.author[:3])

        if len(paper.author) > 3:
            author = author + ", et al."
    else:
        author = "-"

    return author