Skip to content

Commit f53ea8a

Browse files
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
(cherry picked from commit ff1ae3d) Co-authored-by: Zackery Spytz <[email protected]>
1 parent 4cde523 commit f53ea8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/using/windows.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ paths longer than this would not resolve and errors would result.
103103

104104
In the latest versions of Windows, this limitation can be expanded to
105105
approximately 32,000 characters. Your administrator will need to activate the
106-
"Enable Win32 long paths" group policy, or set the registry value
107-
``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled``
108-
to ``1``.
106+
"Enable Win32 long paths" group policy, or set ``LongPathsEnabled`` to ``1``
107+
in the registry key
108+
``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem``.
109109

110110
This allows the :func:`open` function, the :mod:`os` module and most other
111111
path functionality to accept and return paths longer than 260 characters.

0 commit comments

Comments
 (0)