summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-20 12:11:25 (GMT)
committerGitHub <noreply@github.com>2020-10-20 12:11:25 (GMT)
commitf53ea8adaecacfe8c1e4a093136fb5318b15d779 (patch)
tree3084581f03d98b7dff4e643ba2a09212152de6f2
parent4cde523aa467c92a713674c793ab87e7c56486c4 (diff)
downloadcpython-f53ea8adaecacfe8c1e4a093136fb5318b15d779.zip
cpython-f53ea8adaecacfe8c1e4a093136fb5318b15d779.tar.gz
cpython-f53ea8adaecacfe8c1e4a093136fb5318b15d779.tar.bz2
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
(cherry picked from commit ff1ae3dd334faa2006394c2318db385cdc42030a) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-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 5114a26..4639070 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.