diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-10-18 22:44:07 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-10-18 22:44:07 +0300 |
commit | 1a55b6a787ee7a568550ac0510632965af61c9ee (patch) | |
tree | 61f49937226e3dfb945adecef74cc1eff3dfc57e /py/qstrdefs.h | |
parent | c92672d7f8fc410477a4e25789d15c1fd99b675b (diff) | |
download | micropython-1a55b6a787ee7a568550ac0510632965af61c9ee.tar.gz micropython-1a55b6a787ee7a568550ac0510632965af61c9ee.zip |
unix, stmhal: Implement file.readinto() method.
Also, usocket.readinto(). Known issue is that .readinto() should be available
only for binary files, but micropython uses single method table for both
binary and text files.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 3252e35ad4..2c2c45b5be 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -437,6 +437,7 @@ Q(BF_LEN) #if MICROPY_PY_IO Q(_io) Q(readall) +Q(readinto) Q(readline) Q(readlines) Q(FileIO) |