]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 Oct 2020 12:11:25 +0000 (05:11 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 12:11:25 +0000 (05:11 -0700)
(cherry picked from commit ff1ae3dd334faa2006394c2318db385cdc42030a)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Doc/using/windows.rst

index 5114a26a57d072abf852f503c8490b877b1ed378..46390707e31087f96d3e109c7034bf1bd5dc0e5b 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.