mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
fix a bug about %s -> %v
This commit is contained in:
parent
0a75eb857c
commit
40d922e896
@ -61,7 +61,7 @@ static bool disassemble(CodeObject* co) {
|
||||
case OP_LOAD_CONST: {
|
||||
py_Ref value = c11__at(py_TValue, &co->consts, byte.arg);
|
||||
if(py_repr(value)) {
|
||||
pk_sprintf(&ss, " (%s)", py_tosv(py_retval()));
|
||||
pk_sprintf(&ss, " (%v)", py_tosv(py_retval()));
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user