mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
parent
85c71ae882
commit
336b2f45e5
1 changed files with 2 additions and 1 deletions
|
@ -1094,7 +1094,8 @@ def _setup(sys_module, imp_module):
|
|||
setattr(self_module, '_os', os_module)
|
||||
setattr(self_module, 'path_sep', path_sep)
|
||||
|
||||
if sys_module.platform in CASE_INSENSITIVE_PLATFORMS:
|
||||
if any(sys_module.platform.startswith(x)
|
||||
for x in CASE_INSENSITIVE_PLATFORMS):
|
||||
_case_ok = _case_insensitive_ok
|
||||
else:
|
||||
_case_ok = _case_sensitive_ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue