Commit 3e19abcb authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 5680f4c8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,17 +14,17 @@ def _cos(x):


# a function with a complete docstring
def cos(x: float = 0.):
def cos(x: float = 0.) -> float:
    """ cosine function

    Parameters
    ----------
    x :
    x : float
        x values

    Returns
    -------
    cos(x)
    cos(x) : float

    Examples
    --------