summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 0deb646c7b..27b695722c 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -43,6 +43,9 @@ Q(__next__)
Q(__qualname__)
Q(__path__)
Q(__repl_print__)
+#if MICROPY_PY___FILE__
+Q(__file__)
+#endif
Q(__bool__)
Q(__contains__)