summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-15 22:14:18 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-15 22:14:18 +0000
commit11507f4074c4cece88e3f8a404c07653b40a167a (patch)
tree507349ca8d71dbd6e75b650072dc8025dd5a7677 /unix
parentd02c6d896292d585ba2a46c194cfe00da33a2a72 (diff)
parent9953ca432b063a245c3f1bd07b8907a295ff1397 (diff)
downloadmicropython-11507f4074c4cece88e3f8a404c07653b40a167a.tar.gz
micropython-11507f4074c4cece88e3f8a404c07653b40a167a.zip
Merge branch 'master' of github.com:dpgeorge/micropython
Diffstat (limited to 'unix')
-rw-r--r--unix/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/file.c b/unix/file.c
index 204dc1b7ef..088644b3d9 100644
--- a/unix/file.c
+++ b/unix/file.c
@@ -91,6 +91,7 @@ static mp_obj_t fdfile_make_new(mp_obj_t type_in, int n_args, const mp_obj_t *ar
static const mp_method_t rawfile_type_methods[] = {
{ "read", &mp_stream_read_obj },
{ "readall", &mp_stream_readall_obj },
+ { "readline", &mp_stream_unbuffered_readline_obj},
{ "write", &mp_stream_write_obj },
{ "close", &fdfile_close_obj },
{ NULL, NULL },