Skip to content

Commit 1f07b7e

Browse files
committed
py: Reformat few long functions argument lists for clarity.
1 parent 3dfa76c commit 1f07b7e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

py/objgenerator.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ const mp_obj_type_t mp_type_gen_instance = {
252252
.locals_dict = (mp_obj_t)&gen_instance_locals_dict,
253253
};
254254

255-
mp_obj_t mp_obj_new_gen_instance(mp_obj_dict_t *globals, const byte *bytecode, uint n_args, const mp_obj_t *args,
255+
mp_obj_t mp_obj_new_gen_instance(mp_obj_dict_t *globals, const byte *bytecode,
256+
uint n_args, const mp_obj_t *args,
256257
uint n_args2, const mp_obj_t *args2) {
257258
const byte *code_info = bytecode;
258259
// get code info size, and skip the line number table

py/vm.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ typedef enum {
103103
currently_in_except_block = MP_TAGPTR_TAG(exc_sp->val_sp); /* restore previous state */ \
104104
exc_sp--; /* pop back to previous exception handler */
105105

106-
mp_vm_return_kind_t mp_execute_bytecode(const byte *code, const mp_obj_t *args, uint n_args, const mp_obj_t *args2, uint n_args2, mp_obj_t *ret) {
106+
mp_vm_return_kind_t mp_execute_bytecode(const byte *code, const mp_obj_t *args, uint n_args,
107+
const mp_obj_t *args2, uint n_args2, mp_obj_t *ret) {
107108
const byte *ip = code;
108109

109110
// get code info size, and skip line number table

0 commit comments

Comments
 (0)