Skip to content

Commit 7318949

Browse files
committed
py/modbuiltins: Remove unreachable code.
1 parent 0d32f1a commit 7318949

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

py/modbuiltins.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,6 @@ STATIC mp_obj_t mp_builtin_round(size_t n_args, const mp_obj_t *args) {
475475
} else if (val - rounded == -0.5) {
476476
r &= ~1;
477477
}
478-
if (n_args > 1) {
479-
return mp_obj_new_float(r);
480-
}
481478
#else
482479
mp_int_t r = mp_obj_get_int(o_in);
483480
#endif

0 commit comments

Comments
 (0)