summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-07 21:48:47 (GMT)
committerGeorg Brandl <georg@python.org>2010-01-07 21:48:47 (GMT)
commit96aa3ca242528122c676d67bba78fc95c435a048 (patch)
treeb6c1fa490d4ffcebf14dc20fd43d5f89d4240ece
parent54fd8ae0a38018ac122aefdda68bdea341d0de20 (diff)
downloadcpython-96aa3ca242528122c676d67bba78fc95c435a048.zip
cpython-96aa3ca242528122c676d67bba78fc95c435a048.tar.gz
cpython-96aa3ca242528122c676d67bba78fc95c435a048.tar.bz2
#7653: clarify how the PythonPath registry key should look like.
-rw-r--r--Doc/using/windows.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index f5235f1..52349d7 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -168,12 +168,13 @@ separated by semicolons, though, to distinguish them from drive identifiers
.. ``
-Modifying the module search path can also be done through the Windows registry:
-Edit
-:file:`HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\{version}\\PythonPath\\`,
-as described above for the environment variable :envvar:`%PYTHONPATH%`. A
-convenient registry editor is :program:`regedit` (start it by typing "regedit"
-into :menuselection:`Start --> Run`).
+Modifying the module search path can also be done through the Windows registry
+under the key :file:`HKLM\\SOFTWARE\\Python\\PythonCore\\{version}\\PythonPath`.
+Subkeys which have semicolon-delimited path strings as their default value will
+cause each path to be searched. Multiple subkeys can be created and are
+appended to the path in alphabetical order. A convenient registry editor is
+:program:`regedit` (start it by typing "regedit" into :menuselection:`Start -->
+Run`).
Executing scripts