Update vm.cpp

This commit is contained in:
blueloveTH 2024-04-11 11:31:46 +08:00
parent df5f5b4e93
commit b3c898672e

View File

@ -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];
}