mirror of
https://github.com/python/cpython.git
synced 2025-11-24 12:20:42 +00:00
gh-138614: site._get_path to respect non-default implementation name (#138610)
* `site._get_path` to respect non-default implementation name * Add news entry * Remove NEWS entry
This commit is contained in:
parent
34503111fe
commit
744ec1d6c3
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ def _get_path(userbase):
|
|||
if sys.platform == 'darwin' and sys._framework:
|
||||
return f'{userbase}/lib/{implementation_lower}/site-packages'
|
||||
|
||||
return f'{userbase}/lib/python{version[0]}.{version[1]}{abi_thread}/site-packages'
|
||||
return f'{userbase}/lib/{implementation_lower}{version[0]}.{version[1]}{abi_thread}/site-packages'
|
||||
|
||||
|
||||
def getuserbase():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue