diff --git a/python-stdlib/sys/manifest.py b/python-stdlib/sys/manifest.py new file mode 100644 index 000000000..e2b4d0150 --- /dev/null +++ b/python-stdlib/sys/manifest.py @@ -0,0 +1,3 @@ +metadata(version="0.0.1") + +module("sys.py") diff --git a/python-stdlib/sys/sys.py b/python-stdlib/sys/sys.py new file mode 100644 index 000000000..5e970ad16 --- /dev/null +++ b/python-stdlib/sys/sys.py @@ -0,0 +1,7 @@ +from usys import * + + +def intern(s): + # MicroPython has its own interning mechanism so just return the string, + # which might or might not actually be interned. + return s