]> granicus.if.org Git - python/commitdiff
Backport fix of #5774 (only OpenKey applies here).
authorBrian Curtin <brian.curtin@gmail.com>
Sat, 24 Apr 2010 17:14:35 +0000 (17:14 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Sat, 24 Apr 2010 17:14:35 +0000 (17:14 +0000)
Doc/library/_winreg.rst

index 28be590744b085a2522b82d29c1772ae8733de01..f3e59be400bfb8fcbddb59cdf1c1c44672700b85 100644 (file)
@@ -193,7 +193,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>`.