mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
Update vm.cpp
This commit is contained in:
parent
aba90c1eb1
commit
51611da6d9
@ -217,7 +217,7 @@ namespace pkpy{
|
||||
}
|
||||
|
||||
const PyTypeInfo* VM::_inst_type_info(PyObject* obj){
|
||||
if(is_int(obj)) return &_all_types[tp_int];
|
||||
if(is_small_int(obj)) return &_all_types[tp_int];
|
||||
return &_all_types[obj->type];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user