Fix #14943. Update the proper default value and list the proper argument names in the explanation.

This commit is contained in:
Brian Curtin 2012-05-29 18:34:45 -05:00
parent 3aee9416a0
commit 13c70345ca
1 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ This module offers the following functions:
specified in *file_name* is relative to the remote computer. 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>`. 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. *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 security access for the key. Default is :const:`KEY_READ`. See :ref:`Access
Rights <access-rights>` for other allowed values. Rights <access-rights>` for other allowed values.