summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index d52b870e65..27a48af589 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -17,6 +17,7 @@ Q(__path__)
Q(__repl_print__)
Q(__bool__)
+Q(__contains__)
Q(__enter__)
Q(__exit__)
Q(__len__)
@@ -90,7 +91,7 @@ Q(calcsize)
#endif
Q(chr)
Q(classmethod)
-Q(collections)
+Q(_collections)
Q(complex)
Q(dict)
Q(dir)
@@ -263,3 +264,9 @@ Q(<setcomp>)
Q(<genexpr>)
Q(<string>)
Q(<stdin>)
+
+#if MICROPY_CPYTHON_COMPAT
+Q(encode)
+Q(decode)
+Q(utf-8)
+#endif