mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
fix builtins_print
This commit is contained in:
parent
09dc57f206
commit
2a330cc6cd
@ -329,8 +329,8 @@ static bool builtins_round(int argc, py_Ref argv) {
|
||||
|
||||
static bool builtins_print(int argc, py_Ref argv) {
|
||||
// print(*args, sep=' ', end='\n')
|
||||
py_TValue* args;
|
||||
int length = pk_arrayview(argv, &args);
|
||||
py_TValue* args = py_tuple_data(argv);
|
||||
int length = py_tuple_len(argv);
|
||||
assert(length != -1);
|
||||
c11_sv sep = py_tosv(py_arg(1));
|
||||
c11_sv end = py_tosv(py_arg(2));
|
||||
|
Loading…
x
Reference in New Issue
Block a user