We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e7441 commit edc0a66Copy full SHA for edc0a66
python-stdlib/tokenize/metadata.txt
@@ -0,0 +1,5 @@
1
+srctype = micropython-lib
2
+type = module
3
+version = 1.0
4
+author = Andrew Leech
5
+long_desc = Minimal tokenize stub supporting open() in utf8 encoding.
python-stdlib/tokenize/tokenize.py
@@ -0,0 +1,8 @@
+from builtins import open as _builtin_open
+
+def open(filename):
+ """Open a file in read only text mode using utf8.
6
+ """
7
+ return _builtin_open(filename, "r", encoding="utf8")
8
0 commit comments