new_instancemethod

dolfin.cpp.common.new_instancemethod(func, inst, cls)