如果我定义:
class Bar(object): @staticmethod def bar(): # code pass class Foo(Bar): # code pass
函数调用Foo.bar()是否可以确定类名Foo?
python reflection static-methods function-call
function-call ×1
python ×1
reflection ×1
static-methods ×1