Source code for sample_module.mod1

'''
Sample module just to illustrate doc
'''


[docs]class Class1(object): ''' A class which does nothing. ''' def __init__(self): ''' Nothing. ''' pass
[docs] def a_method(self, a, b, c=0): ''' Adds arguments Parameters ---------- a: float 1st argument b: float 2nd argument c: float 3rd argument Returns ------- sum: float the sum ''' return a + b + c