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