From cb66f41ebc4980f4e6b7543bece19e3b9daac25c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 13 Jul 2014 23:07:42 +0300 Subject: 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/. --- py/qstrdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/qstrdefs.h') 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 -- cgit v1.2.3