mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
use arg_newObj
This commit is contained in:
parent
a563f7947c
commit
5277b6f51d
@ -948,7 +948,7 @@ PikaObj *__findall(void *pattern__or__re,
|
||||
}
|
||||
sub_list = newNormalObj(New_PikaStdData_Tuple);
|
||||
obj_setPtr(sub_list, "list", tu);
|
||||
sub_arg = arg_newPtr(ARG_TYPE_OBJECT, sub_list);
|
||||
sub_arg = arg_newObj(sub_list);
|
||||
PikaStdData_List_append(list, sub_arg);
|
||||
arg_deinit(sub_arg);
|
||||
free(b);
|
||||
|
Loading…
x
Reference in New Issue
Block a user