def foo(path, field_storage, temporary):
    """This is function foo
    Parameters
    ----------
    path : str
        The path of the file to wrap
    field_storage : :class:`FileStorage`
        The :class:`FileStorage` instance to wrap
    temporary : bool
        Whether or not to delete the file when the File instance
        is destructed
    Returns
    -------
    describe : type
        Explanation
    ...
    Examples
    --------
    These are written in doctest format, and should illustrate how to
    use the function.
    >>> a=[1,2,3]
    >>> print [x + 3 for x in a]
    [4, 5, 6]
    ...
    """
pass
Are there any real alternatives to reStructuredText for Python documentation?