Skip to content

Commit ff1ae3d

Browse files
authored
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
1 parent f231203 commit ff1ae3d

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)