We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e24cff commit 204900bCopy full SHA for 204900b
1 file changed
python-stdlib/os/os/__init__.py
@@ -1,5 +1,11 @@
1
-# Replace built-in os module.
2
-from uos import *
+# Include built-in os module.
+import sys
3
+__path = sys.path
4
+try:
5
+ sys.path.clear()
6
+ from os import *
7
+finally:
8
+ sys.path.extend(__path)
9
10
# Provide optional dependencies (which may be installed separately).
11
try:
0 commit comments