def perm_one(n):
    """
    The identity permutation

    EXAMPLES::

        sage: from surface_dynamics.misc.permutation import perm_one
        sage: perm_one(0)
        []
        sage: perm_one(3)
        [0, 1, 2]
    """
    return list(range(n))
