Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into mp_obj_get_ll_int
Browse files Browse the repository at this point in the history
  • Loading branch information
IhorNehrutsa committed Jul 21, 2023
1 parent 773cd83 commit fc49887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ int64_t mp_obj_get_ll_int(mp_obj_t arg_in) {
return 1;
} else if (mp_obj_is_small_int(arg_in)) {
return MP_OBJ_SMALL_INT_VALUE(arg_in);
} else if (mp_obj_is_type(arg_in, &mp_type_int)) {
} else if (mp_obj_is_exact_type(arg_in, &mp_type_int)) {
#if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG
mp_obj_int_t *arg = arg_in;
return arg->val;
Expand Down

0 comments on commit fc49887

Please sign in to comment.