]> granicus.if.org Git - python/commitdiff
Fix #5774. Some _winreg functions are documented as taking kwargs but don't.
authorBrian Curtin <brian.curtin@gmail.com>
Sat, 24 Apr 2010 17:10:22 +0000 (17:10 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Sat, 24 Apr 2010 17:10:22 +0000 (17:10 +0000)
Doc/library/_winreg.rst

index 6fa205319bf0fa667aaca39a32e85ef990fe5df8..a140181689489d7be5418b677fa6dacce72ec15f 100644 (file)
@@ -69,7 +69,7 @@ This module offers the following functions:
    :exc:`WindowsError` exception is raised.
 
 
-.. function:: CreateKeyEx(key, sub_key, res=0, sam=KEY_ALL_ACCESS)
+.. function:: CreateKeyEx(key, sub_key[, res[, sam]])
 
    Creates or opens the specified key, returning a
    :ref:`handle object <handle-object>`.
@@ -111,7 +111,7 @@ This module offers the following functions:
    If the method fails, a :exc:`WindowsError` exception is raised.
 
 
-.. function:: DeleteKeyEx(key, sub_key, sam=KEY_WOW64_64KEY, res=0)
+.. function:: DeleteKeyEx(key, sub_key[, sam[, res]])
 
    Deletes the specified key.
 
@@ -250,7 +250,7 @@ This module offers the following functions:
    :const:`HKEY_LOCAL_MACHINE` tree. This may or may not be true.
 
 
-.. function:: OpenKey(key, sub_key, res=0, sam=KEY_READ)
+.. function:: OpenKey(key, sub_key[, res[, sam]])
 
    Opens the specified key, returning a :ref:`handle object <handle-object>`.