m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
112 B

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