diff options
| author | TG-Techie <39284876+TG-Techie@users.noreply.github.com> | 2020-02-28 02:54:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-28 02:54:41 -0500 |
| commit | 75aea6b1ca3b2d9a14ea195ee3b1e23101b4cc77 (patch) | |
| tree | b49e33ff7aac96ae800575e870b3828f82bece58 /py/objstringio.c | |
| parent | c000567d880b054ca9ed0e9f96ee474451e92e3c (diff) | |
| parent | 1b33cd11fc788bd6b45b54c5629a3b98a92efc2a (diff) | |
Merge pull request #1 from adafruit/master
add in 5.0rc changes
Diffstat (limited to 'py/objstringio.c')
| -rw-r--r-- | py/objstringio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objstringio.c b/py/objstringio.c index d2ca6decd..178e6446c 100644 --- a/py/objstringio.c +++ b/py/objstringio.c @@ -240,6 +240,7 @@ STATIC const mp_rom_map_elem_t stringio_locals_dict_table[] = { STATIC MP_DEFINE_CONST_DICT(stringio_locals_dict, stringio_locals_dict_table); STATIC const mp_stream_p_t stringio_stream_p = { + MP_PROTO_IMPLEMENT(MP_QSTR_protocol_stream) .read = stringio_read, .write = stringio_write, .ioctl = stringio_ioctl, @@ -247,6 +248,7 @@ STATIC const mp_stream_p_t stringio_stream_p = { }; STATIC const mp_stream_p_t bytesio_stream_p = { + MP_PROTO_IMPLEMENT(MP_QSTR_protocol_stream) .read = stringio_read, .write = stringio_write, .ioctl = stringio_ioctl, |
