@@ -60,7 +60,7 @@ This module offers the following functions:
60
60
:exc: `WindowsError ` exception is raised.
61
61
62
62
63
- .. function :: CreateKeyEx(key, sub_key, reserved=0, access=KEY_ALL_ACCESS )
63
+ .. function :: CreateKeyEx(key, sub_key, reserved=0, access=KEY_WRITE )
64
64
65
65
Creates or opens the specified key, returning a
66
66
:ref: `handle object <handle-object >`.
@@ -70,10 +70,10 @@ This module offers the following functions:
70
70
71
71
*sub_key * is a string that names the key this method opens or creates.
72
72
73
- *res * is a reserved integer, and must be zero. The default is zero.
73
+ *reserved * is a reserved integer, and must be zero. The default is zero.
74
74
75
- *sam * is an integer that specifies an access mask that describes the desired
76
- security access for the key. Default is :const: `KEY_ALL_ACCESS `. See
75
+ *access * is an integer that specifies an access mask that describes the desired
76
+ security access for the key. Default is :const: `KEY_WRITE `. See
77
77
:ref: `Access Rights <access-rights >` for other allowed values.
78
78
79
79
If *key * is one of the predefined keys, *sub_key * may be ``None ``. In that
@@ -103,7 +103,7 @@ This module offers the following functions:
103
103
If the method fails, a :exc: `WindowsError ` exception is raised.
104
104
105
105
106
- .. function :: DeleteKeyEx(key, sub_key, access=KEY_ALL_ACCESS , reserved=0)
106
+ .. function :: DeleteKeyEx(key, sub_key, access=KEY_WOW64_64KEY , reserved=0)
107
107
108
108
Deletes the specified key.
109
109
@@ -120,9 +120,9 @@ This module offers the following functions:
120
120
*key * parameter. This value must not be ``None ``, and the key may not have
121
121
subkeys.
122
122
123
- *res * is a reserved integer, and must be zero. The default is zero.
123
+ *reserved * is a reserved integer, and must be zero. The default is zero.
124
124
125
- *sam * is an integer that specifies an access mask that describes the desired
125
+ *access * is an integer that specifies an access mask that describes the desired
126
126
security access for the key. Default is :const: `KEY_ALL_ACCESS `. See
127
127
:ref: `Access Rights <access-rights >` for other allowed values.
128
128
@@ -244,6 +244,7 @@ This module offers the following functions:
244
244
245
245
246
246
.. function :: OpenKey(key, sub_key, reserved=0, access=KEY_READ)
247
+ OpenKeyEx(key, sub_key, reserved=0, access=KEY_READ)
247
248
248
249
Opens the specified key, returning a :ref: `handle object <handle-object >`.
249
250
@@ -265,12 +266,6 @@ This module offers the following functions:
265
266
.. versionchanged :: 3.2 Allow the use of named arguments.
266
267
267
268
268
- .. function :: OpenKeyEx()
269
-
270
- The functionality of :func: `OpenKeyEx ` is provided via :func: `OpenKey `,
271
- by the use of default arguments.
272
-
273
-
274
269
.. function :: QueryInfoKey(key)
275
270
276
271
Returns information about a key, as a tuple.
@@ -394,11 +389,11 @@ This module offers the following functions:
394
389
*value_name * is a string that names the subkey with which the value is
395
390
associated.
396
391
392
+ *reserved * can be anything -- zero is always passed to the API.
393
+
397
394
*type * is an integer that specifies the type of the data. See
398
395
:ref: `Value Types <value-types >` for the available types.
399
396
400
- *reserved * can be anything -- zero is always passed to the API.
401
-
402
397
*value * is a string that specifies the new value.
403
398
404
399
This method can also set additional value and type information for the specified
0 commit comments