]> 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:23:03 +0000 (17:23 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Sat, 24 Apr 2010 17:23:03 +0000 (17:23 +0000)
Doc/library/winreg.rst

index 473bfe3027f3b7006482d8a4608ba87a337d8026..4b2ed41673e1e60caf9b026fcdcbf7b62ed2c0ce 100644 (file)
@@ -183,7 +183,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 :dfn:`handle object`