Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7d2874

Browse files
committed
Issue #20301: Mention the correct KEY_* value as the default
for 'access' in winreg.DeleteKeyEx. Already correct in the docs function signature and docstring. Noticed by Justin Foo.
1 parent 7ed509a commit f7d2874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/winreg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ This module offers the following functions:
146146
*reserved* is a reserved integer, and must be zero. The default is zero.
147147

148148
*access* is an integer that specifies an access mask that describes the desired
149-
security access for the key. Default is :const:`KEY_ALL_ACCESS`. See
149+
security access for the key. Default is :const:`KEY_WOW64_64KEY`. See
150150
:ref:`Access Rights <access-rights>` for other allowed values.
151151

152152
*This method can not delete keys with subkeys.*

0 commit comments

Comments
 (0)