将绑定到实例的方法传入工作吗?如果是这样,您不必做任何特别的事情.
In [2]: class C(object): ...: def method(self, a, b, c): ...: print a, b, c ...: ...: In [3]: def api_function(a_func): ...: a_func("One Fish", "Two Fish", "Blue Fish") ...: ...: In [4]: c = C() In [5]: api_function(c.method) One Fish Two Fish Blue Fish