是否有可能在python中实现泛型方法处理程序,允许调用不存在的函数?像这样的东西:
class FooBar: def __generic__method__handler__(.., methodName, ..): print methodName fb = FooBar() fb.helloThere() -- output -- helloThere
python
python ×1