summaryrefslogtreecommitdiff
path: root/unix/file.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-08 04:08:16 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-08 04:08:16 +0300
commit72d70cb0455c61ee963d9063bd42a8b0f6c80789 (patch)
tree97c6bec8777b290133f14d47ad416cba1628e7dd /unix/file.c
parentb8cf9485508f4d2d52edf2734231f7dee1c1fd92 (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.c2
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,