def domethod(self, code, name, *args): meth = getattr(org.python.core.PyObject, name) code, type = JavaCall.call(meth, Object(code, self), args) return Object(code, findType(type))
def domethod(self, code, name, *args): meth = getattr(PyObject_as_java_class, name) # xxx temporary fix code, type = JavaCall.call(meth, Object(code, self), args) return Object(code, findType(type))