Skip to content

Commit b30a777

Browse files
committed
objfun: Typo fixes in comments.
1 parent 347b3a3 commit b30a777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/objfun.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,13 @@ STATIC NORETURN void fun_pos_args_mismatch(mp_obj_fun_bc_t *f, uint expected, ui
196196

197197
// If it's possible to call a function without allocating new argument array,
198198
// this function returns true, together with pointers to 2 subarrays to be used
199-
// as arguments. Otherwise, it returns false. It is expected that this fucntion
199+
// as arguments. Otherwise, it returns false. It is expected that this function
200200
// will be accompanied by another, mp_obj_fun_prepare_full_args(), which will
201201
// instead take pointer to full-length out-array, and will fill it in. Rationale
202202
// being that a caller can try this function and if it succeeds, the function call
203203
// can be made without allocating extra memory. Otherwise, caller can allocate memory
204204
// and try "full" function. These functions are expected to be refactoring of
205-
// code in fun_bc_call() and evenrually replace it.
205+
// code in fun_bc_call() and eventually replace it.
206206
bool mp_obj_fun_prepare_simple_args(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args,
207207
uint *out_args1_len, const mp_obj_t **out_args1, uint *out_args2_len, const mp_obj_t **out_args2) {
208208
mp_obj_fun_bc_t *self = self_in;

0 commit comments

Comments
 (0)