Skip to content

Commit b0cccf3

Browse files
committed
Change os_details
1 parent a57f38b commit b0cccf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ def _setup(_bootstrap_module):
15651565
setattr(self_module, builtin_name, builtin_module)
15661566

15671567
# Directly load the os module (needed during bootstrap).
1568-
os_details = ('posix', ['/']), ('nt', ['\\', '/'])
1568+
os_details = ('_os', ['/']), ('_os', ['\\', '/']) # Changed by palaviv to fit RustPython!!!
15691569
for builtin_os, path_separators in os_details:
15701570
# Assumption made in _path_join()
15711571
assert all(len(sep) == 1 for sep in path_separators)

0 commit comments

Comments
 (0)