mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
fix a bug
This commit is contained in:
parent
8d7635f158
commit
bb75341c49
@ -979,7 +979,7 @@ inline void init_builtins(VM* _vm) {
|
|||||||
for(auto& item : self.items()){
|
for(auto& item : self.items()){
|
||||||
if(!first) ss << ", ";
|
if(!first) ss << ", ";
|
||||||
first = false;
|
first = false;
|
||||||
Str key = CAST(Str&, item.first).escape();
|
Str key = CAST(Str&, item.first).escape(false);
|
||||||
Str value = CAST(Str&, vm->py_json(item.second));
|
Str value = CAST(Str&, vm->py_json(item.second));
|
||||||
ss << key << ": " << value;
|
ss << key << ": " << value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user