mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
92638781ad
commit
3489567386
@ -1111,7 +1111,7 @@ PyObject* VM::get_unbound_method(PyObject* obj, StrName name, PyObject** self, b
|
|||||||
}
|
}
|
||||||
|
|
||||||
const PyTypeInfo* ti = &_all_types[objtype];
|
const PyTypeInfo* ti = &_all_types[objtype];
|
||||||
if(ti->m__getattr__){
|
if(fallback && ti->m__getattr__){
|
||||||
PyObject* ret = ti->m__getattr__(this, obj, name);
|
PyObject* ret = ti->m__getattr__(this, obj, name);
|
||||||
if(ret) return ret;
|
if(ret) return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user