mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
switched the call order so this call works without suffering from issue #7774
This commit is contained in:
parent
82230f952d
commit
ef97caf111
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ _PREFIX = os.path.normpath(sys.prefix)
|
|||
_EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
|
||||
_CONFIG_VARS = None
|
||||
_USER_BASE = None
|
||||
_PROJECT_BASE = os.path.dirname(abspath(sys.executable))
|
||||
_PROJECT_BASE = abspath(os.path.dirname(sys.executable))
|
||||
|
||||
if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower():
|
||||
_PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue