summaryrefslogtreecommitdiff
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-09 17:59:49 -0700
committerZachary Ware <zachary.ware@gmail.com>2016-09-09 17:59:49 -0700
commita5d8092435155dfc8bd6b6c58fb56e22bdb72831 (patch)
tree8b283ae9c0d88f2b3b006d862df244e02da3d25a /PC/getpathp.c
parent6edfa2cdfc450fbcf7713f10e271334219bce2fb (diff)
downloadcpython-a5d8092435155dfc8bd6b6c58fb56e22bdb72831.tar.gz
Issue #28046: Remove platform-specific directories from sys.path
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 4d71fe7ddf..5604d3dcaf 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -26,7 +26,7 @@
is set, we believe it. Otherwise, we use the path of our host .EXE's
to try and locate on of our "landmarks" and deduce our home.
- If we DO have a Python Home: The relevant sub-directories (Lib,
- plat-win, etc) are based on the Python Home
+ DLLs, etc) are based on the Python Home
- If we DO NOT have a Python Home, the core Python Path is
loaded from the registry. This is the main PythonPath key,
and both HKLM and HKCU are combined to form the path)
@@ -34,7 +34,7 @@
* Iff - we can not locate the Python Home, have not had a PYTHONPATH
specified, and can't locate any Registry entries (ie, we have _nothing_
we can assume is a good path), a default path with relative entries is
- used (eg. .\Lib;.\plat-win, etc)
+ used (eg. .\Lib;.\DLLs, etc)
If a sys.path file exists adjacent to python.exe, it must contain a