]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
authorZackery Spytz <zspytz@gmail.com>
Tue, 20 Oct 2020 12:01:12 +0000 (06:01 -0600)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 12:01:12 +0000 (13:01 +0100)
Doc/using/windows.rst

index b95a43c853c288fa65297fade9663a3ccc68836f..275495bc6d1292cc6d96911cc38d20a889a8da72 100644 (file)
@@ -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.