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

Skip to content

Commit d648fa2

Browse files
committed
Fix #14943. Merge 3.2
2 parents 5e86eed + 13c7034 commit d648fa2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/winreg.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ This module offers the following functions:
271271
specified in *file_name* is relative to the remote computer.
272272

273273

274-
.. function:: OpenKey(key, sub_key, reserved=0, access=KEY_ALL_ACCESS)
274+
.. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ)
275275

276276
Opens the specified key, returning a :ref:`handle object <handle-object>`.
277277

@@ -280,9 +280,9 @@ This module offers the following functions:
280280

281281
*sub_key* is a string that identifies the sub_key to open.
282282

283-
*res* is a reserved integer, and must be zero. The default is zero.
283+
*reserved* is a reserved integer, and must be zero. The default is zero.
284284

285-
*sam* is an integer that specifies an access mask that describes the desired
285+
*access* is an integer that specifies an access mask that describes the desired
286286
security access for the key. Default is :const:`KEY_READ`. See :ref:`Access
287287
Rights <access-rights>` for other allowed values.
288288

0 commit comments

Comments
 (0)