Update vm.h

This commit is contained in:
blueloveTH 2023-01-30 20:04:09 +08:00
parent f66e92954b
commit c7157443aa

View File

@ -856,7 +856,7 @@ public:
setattr(type, __name__, PyStr(name)); setattr(type, __name__, PyStr(name));
} }
this->__py2py_call_signal = new_object(_tp_object, (i64)7); this->__py2py_call_signal = new_object(_tp_object, DUMMY_VAL);
std::vector<_Str> publicTypes = {"type", "object", "bool", "int", "float", "str", "list", "tuple", "range"}; std::vector<_Str> publicTypes = {"type", "object", "bool", "int", "float", "str", "list", "tuple", "range"};
for (auto& name : publicTypes) { for (auto& name : publicTypes) {