calculus.py 112 B

123456
  1. class CalculusMethods(object):
  2. pass
  3. def defun(f):
  4. setattr(CalculusMethods, f.__name__, f)
  5. return f