diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-08 04:08:16 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-04-08 04:08:16 +0300 |
commit | 72d70cb0455c61ee963d9063bd42a8b0f6c80789 (patch) | |
tree | 97c6bec8777b290133f14d47ad416cba1628e7dd /unix/file.c | |
parent | b8cf9485508f4d2d52edf2734231f7dee1c1fd92 (diff) |
unix, stmhal: Consistently use "FileIO" as class name for file objects.
They correspond to io.FileIO in io module hierarchy (with small caveat
that io.FileIO is raw file and works with bytes, not strings).
Diffstat (limited to 'unix/file.c')
-rw-r--r-- | unix/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/file.c b/unix/file.c index 2cc17dfd3..fa7be791a 100644 --- a/unix/file.c +++ b/unix/file.c @@ -130,7 +130,7 @@ STATIC const mp_stream_p_t rawfile_stream_p = { STATIC const mp_obj_type_t rawfile_type = { { &mp_type_type }, - .name = MP_QSTR_io_dot_FileIO, + .name = MP_QSTR_FileIO, .print = fdfile_print, .make_new = fdfile_make_new, .getiter = mp_identity, |