mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +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: {
|
case OP_LOAD_CONST: {
|
||||||
py_Ref value = c11__at(py_TValue, &co->consts, byte.arg);
|
py_Ref value = c11__at(py_TValue, &co->consts, byte.arg);
|
||||||
if(py_repr(value)) {
|
if(py_repr(value)) {
|
||||||
pk_sprintf(&ss, " (%s)", py_tosv(py_retval()));
|
pk_sprintf(&ss, " (%v)", py_tosv(py_retval()));
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user