Skip to content

Commit 5467186

Browse files
committed
py: Remove unnecessary argument in bytearray print.
1 parent e3737b8 commit 5467186

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/objarray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ STATIC mp_obj_t array_append(mp_obj_t self_in, mp_obj_t arg);
5959
STATIC void array_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) {
6060
mp_obj_array_t *o = o_in;
6161
if (o->typecode == BYTEARRAY_TYPECODE) {
62-
print(env, "bytearray(b", o->typecode);
62+
print(env, "bytearray(b");
6363
mp_str_print_quoted(print, env, o->items, o->len, true);
6464
} else {
6565
print(env, "array('%c'", o->typecode);

0 commit comments

Comments
 (0)