diff options
author | Brian Curtin <brian@python.org> | 2012-05-29 23:34:45 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-05-29 23:34:45 (GMT) |
commit | 13c70345ca3767e6b83ef36998fc4953c01fb65a (patch) | |
tree | ab2492b5f84a19fe03f08765f70d5bd577cecb53 /Doc/library/winreg.rst | |
parent | 3aee9416a0ef4ce385b655cb20c8ec31b839302f (diff) | |
download | cpython-13c70345ca3767e6b83ef36998fc4953c01fb65a.zip cpython-13c70345ca3767e6b83ef36998fc4953c01fb65a.tar.gz cpython-13c70345ca3767e6b83ef36998fc4953c01fb65a.tar.bz2 |
Fix #14943. Update the proper default value and list the proper argument names in the explanation.
Diffstat (limited to 'Doc/library/winreg.rst')
-rw-r--r-- | Doc/library/winreg.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst index 5cf30ee..e49b51b 100644 --- a/Doc/library/winreg.rst +++ b/Doc/library/winreg.rst @@ -243,7 +243,7 @@ This module offers the following functions: specified in *file_name* is relative to the remote computer. -.. function:: OpenKey(key, sub_key, reserved=0, access=KEY_ALL_ACCESS) +.. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ) Opens the specified key, returning a :ref:`handle object <handle-object>`. @@ -252,9 +252,9 @@ This module offers the following functions: *sub_key* is a string that identifies the sub_key to open. - *res* is a reserved integer, and must be zero. The default is zero. + *reserved* is a reserved integer, and must be zero. The default is zero. - *sam* is an integer that specifies an access mask that describes the desired + *access* is an integer that specifies an access mask that describes the desired security access for the key. Default is :const:`KEY_READ`. See :ref:`Access Rights <access-rights>` for other allowed values. |