summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-13 23:07:42 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-19 21:27:22 +0300
commitcb66f41ebc4980f4e6b7543bece19e3b9daac25c (patch)
treef16cd4ce92d787b9ceb0bb9015c9636fbfe58dea /py/qstrdefs.h
parent04c9fec7d1b8666fc3210f41619dff2465b42227 (diff)
downloadmicropython-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.h1
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