summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-10-20 06:01:12 -0600
committerGitHub <noreply@github.com>2020-10-20 13:01:12 +0100
commitff1ae3dd334faa2006394c2318db385cdc42030a (patch)
treee2a83f5bea4cfce3cee06411aca88cd632778d3b
parentf2312037e3a974d26ed3e23884f94c6af111a27a (diff)
downloadcpython-git-ff1ae3dd334faa2006394c2318db385cdc42030a.tar.gz
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
-rw-r--r--Doc/using/windows.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index b95a43c853..275495bc6d 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -103,9 +103,9 @@ paths longer than this would not resolve and errors would result.
In the latest versions of Windows, this limitation can be expanded to
approximately 32,000 characters. Your administrator will need to activate the
-"Enable Win32 long paths" group policy, or set the registry value
-``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled``
-to ``1``.
+"Enable Win32 long paths" group policy, or set ``LongPathsEnabled`` to ``1``
+in the registry key
+``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem``.
This allows the :func:`open` function, the :mod:`os` module and most other
path functionality to accept and return paths longer than 260 characters.