Source code for testingcidemo

__version__ = "0.0.1"


[docs]def f(i): """Example function with types documented in the docstring. Parameters ---------- i : int The first parameter. Returns ------- int param. """ if not isinstance(i, int): raise TypeError("i must be an int") if i < 0 or i > 10: raise ValueError("i out of range") if i == 4: return "Apples" return i
[docs]def multi(x, y): """Multiplication function.""" return x * y