diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:24:22 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:24:22 +0300 |
| commit | 59a1201da959ab01895361c0b5bb8bc1409f2b39 (patch) | |
| tree | 7fc38be0c61c88d12dd665b67f42ac1c0b437065 /stmhal/pybstdio.c | |
| parent | 99e5badeb1e2e6aeffd3b3d56902d4257e168326 (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 'stmhal/pybstdio.c')
| -rw-r--r-- | stmhal/pybstdio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c index 9cc787ce2..dec4f227a 100644 --- a/stmhal/pybstdio.c +++ b/stmhal/pybstdio.c @@ -97,7 +97,6 @@ STATIC const mp_map_elem_t stdio_locals_dict_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_buffer), (mp_obj_t)&stdio_buffer_obj }, #endif { MP_OBJ_NEW_QSTR(MP_QSTR_read), (mp_obj_t)&mp_stream_read_obj }, - { MP_OBJ_NEW_QSTR(MP_QSTR_readall), (mp_obj_t)&mp_stream_readall_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_readinto), (mp_obj_t)&mp_stream_readinto_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_readline), (mp_obj_t)&mp_stream_unbuffered_readline_obj}, { MP_OBJ_NEW_QSTR(MP_QSTR_readlines), (mp_obj_t)&mp_stream_unbuffered_readlines_obj}, |
