mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove sys.platform == 'riscos' checks from some Python and test files. #16501
This commit is contained in:
parent
8473e5740f
commit
de0b962998
6 changed files with 4 additions and 14 deletions
|
@ -300,9 +300,7 @@ def getsitepackages(prefixes=None):
|
|||
continue
|
||||
seen.add(prefix)
|
||||
|
||||
if sys.platform == 'riscos':
|
||||
sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
|
||||
elif os.sep == '/':
|
||||
if os.sep == '/':
|
||||
sitepackages.append(os.path.join(prefix, "lib",
|
||||
"python" + sys.version[:3],
|
||||
"site-packages"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue