[Python-checkins] bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
Zackery Spytz
webhook-mailer at python.org
Tue Oct 20 08:01:17 EDT 2020
https://github.com/python/cpython/commit/ff1ae3dd334faa2006394c2318db385cdc42030a
commit: ff1ae3dd334faa2006394c2318db385cdc42030a
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-10-20T13:01:12+01:00
summary:
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
files:
M Doc/using/windows.rst
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index b95a43c853c28..275495bc6d129 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 at 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.
More information about the Python-checkins
mailing list