summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorgauravbackback <gaurav.s15@iiits.in>2017-11-28 15:16:30 (GMT)
committerChristian Heimes <christian@python.org>2017-11-28 15:16:30 (GMT)
commit08d2b86a1058b733bb7f1ae2b55818dd9687d21c (patch)
tree5e41799e3b8783aa4f469593f3a9bfb19b10f689 /Modules
parent696b501cd11dc429a0f661adeb598bfaf89e4112 (diff)
downloadcpython-08d2b86a1058b733bb7f1ae2b55818dd9687d21c.zip
cpython-08d2b86a1058b733bb7f1ae2b55818dd9687d21c.tar.gz
cpython-08d2b86a1058b733bb7f1ae2b55818dd9687d21c.tar.bz2
bpo-31440: Changed default module search path for windows
Diffstat (limited to 'Modules')
-rw-r--r--Modules/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 1b1d804..899cbc2 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -21,9 +21,9 @@
#endif
#if defined(MS_WINDOWS)
-#define PYTHONHOMEHELP "<prefix>\\lib"
+#define PYTHONHOMEHELP "<prefix>\\python{major}{minor}"
#else
-#define PYTHONHOMEHELP "<prefix>/pythonX.X"
+#define PYTHONHOMEHELP "<prefix>/lib/pythonX.X"
#endif
#include "pygetopt.h"