summaryrefslogtreecommitdiff
path: root/unix/modsocket.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-14 00:24:22 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-14 00:24:22 +0300
commit59a1201da959ab01895361c0b5bb8bc1409f2b39 (patch)
tree7fc38be0c61c88d12dd665b67f42ac1c0b437065 /unix/modsocket.c
parent99e5badeb1e2e6aeffd3b3d56902d4257e168326 (diff)
all: Remove readall() method, which is equivalent to read() w/o args.
Its addition was due to an early exploration on how to add CPython-like stream interface. It's clear that it's not needed and just takes up bytes in all ports.
Diffstat (limited to 'unix/modsocket.c')
-rw-r--r--unix/modsocket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/unix/modsocket.c b/unix/modsocket.c
index 74d22eb73..9ca04b88b 100644
--- a/unix/modsocket.c
+++ b/unix/modsocket.c
@@ -349,7 +349,6 @@ STATIC const mp_rom_map_elem_t usocket_locals_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_fileno), MP_ROM_PTR(&socket_fileno_obj) },
{ MP_ROM_QSTR(MP_QSTR_makefile), MP_ROM_PTR(&socket_makefile_obj) },
{ MP_ROM_QSTR(MP_QSTR_read), MP_ROM_PTR(&mp_stream_read_obj) },
- { MP_ROM_QSTR(MP_QSTR_readall), MP_ROM_PTR(&mp_stream_readall_obj) },
{ MP_ROM_QSTR(MP_QSTR_readinto), MP_ROM_PTR(&mp_stream_readinto_obj) },
{ MP_ROM_QSTR(MP_QSTR_readline), MP_ROM_PTR(&mp_stream_unbuffered_readline_obj) },
{ MP_ROM_QSTR(MP_QSTR_write), MP_ROM_PTR(&mp_stream_write_obj) },