diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-07-13 23:07:42 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-07-19 21:27:22 +0300 |
commit | cb66f41ebc4980f4e6b7543bece19e3b9daac25c (patch) | |
tree | f16cd4ce92d787b9ceb0bb9015c9636fbfe58dea /py/qstrdefs.h | |
parent | 04c9fec7d1b8666fc3210f41619dff2465b42227 (diff) | |
download | micropython-cb66f41ebc4980f4e6b7543bece19e3b9daac25c.tar.gz micropython-cb66f41ebc4980f4e6b7543bece19e3b9daac25c.zip |
py: Make print() accept "file" argument, and actually print to stream.
And not system printf(), like it was before. For this, move pfenv_printf()
from stmhal port to py/.
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 e3a4dc01ab..0deb646c7b 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -413,6 +413,7 @@ Q(TextIOWrapper) Q(StringIO) Q(BytesIO) Q(getvalue) +Q(file) #endif #if MICROPY_PY_GC |