From: Brian Curtin Date: Sat, 24 Apr 2010 17:14:35 +0000 (+0000) Subject: Backport fix of #5774 (only OpenKey applies here). X-Git-Tag: v2.6.6rc1~407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ec87deede7a5452fe336951ab30d2eb7bc4da47;p=python Backport fix of #5774 (only OpenKey applies here). --- diff --git a/Doc/library/_winreg.rst b/Doc/library/_winreg.rst index 28be590744..f3e59be400 100644 --- a/Doc/library/_winreg.rst +++ b/Doc/library/_winreg.rst @@ -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 `.