7 lines
112 B
Python
7 lines
112 B
Python
|
class CalculusMethods(object):
|
||
|
pass
|
||
|
|
||
|
def defun(f):
|
||
|
setattr(CalculusMethods, f.__name__, f)
|
||
|
return f
|