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

Skip to content

Commit d855948

Browse files
committed
Fix #5774. Change doc to reflect that some functions have defaults but not kwargs.
1 parent c80c93f commit d855948

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
@@ -61,7 +61,7 @@ This module offers the following functions:
6161
:exc:`WindowsError` exception is raised.
6262

6363

64-
.. function:: CreateKeyEx(key, sub_key, res=0, sam=KEY_ALL_ACCESS)
64+
.. function:: CreateKeyEx(key, sub_key[, res[, sam]])
6565

6666
Creates or opens the specified key, returning a :dfn:`handle object`
6767

@@ -102,7 +102,7 @@ This module offers the following functions:
102102
If the method fails, a :exc:`WindowsError` exception is raised.
103103

104104

105-
.. function:: DeleteKeyEx(key, sub_key, sam=KEY_WOW64_64KEY, res=0)
105+
.. function:: DeleteKeyEx(key, sub_key[, sam[, res]])
106106

107107
Deletes the specified key.
108108

@@ -239,7 +239,7 @@ This module offers the following functions:
239239
:const:`HKEY_LOCAL_MACHINE` tree. This may or may not be true.
240240

241241

242-
.. function:: OpenKey(key, sub_key, res=0, sam=KEY_READ)
242+
.. function:: OpenKey(key, sub_key[, res[, sam]])
243243

244244
Opens the specified key, returning a :dfn:`handle object`
245245

0 commit comments

Comments
 (0)