diff options
Diffstat (limited to 'unix/socket.c')
-rw-r--r-- | unix/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/socket.c b/unix/socket.c index 4b160e0bc8..25c4bfcb46 100644 --- a/unix/socket.c +++ b/unix/socket.c @@ -238,7 +238,7 @@ static const mp_method_t microsocket_type_methods[] = { static const mp_obj_type_t microsocket_type = { { &mp_const_type }, - "socket", + .name = MP_QSTR_socket, .print = socket_print, .make_new = socket_make_new, .getiter = NULL, |