From 44bb1f7eabd850db1e03574debbba8e40d897e1c Mon Sep 17 00:00:00 2001
From: Brian Curtin <brian.curtin@gmail.com>
Date: Sat, 24 Apr 2010 17:23:03 +0000
Subject: [PATCH] Backport fix of #5774 (only OpenKey applies here).

---
 Doc/library/winreg.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst
index 473bfe3027..4b2ed41673 100644
--- a/Doc/library/winreg.rst
+++ b/Doc/library/winreg.rst
@@ -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`
 
-- 
2.40.0