From: Mark Hammond <mhammond@skippinet.com.au>
Date: Wed, 15 Jan 2003 23:38:15 +0000 (+0000)
Subject: Correct docstring for SetValueEx()
X-Git-Tag: v2.3c1~2443
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9083b66bd6ae6956df13e4b4fdcd025d6d0436b;p=python

Correct docstring for SetValueEx()
---

diff --git a/PC/_winreg.c b/PC/_winreg.c
index cbf30fc7ae..de66f6a34c 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -258,7 +258,7 @@ PyDoc_STRVAR(SetValueEx_doc,
 "SetValueEx(key, value_name, reserved, type, value) - Stores data in the value field of an open registry key.\n"
 "\n"
 "key is an already open key, or any one of the predefined HKEY_* constants.\n"
-"sub_key is a string that names the subkey with which the value is associated.\n"
+"value_name is a string containing the name of the value to set, or None\n"
 "type is an integer that specifies the type of the data.  This should be one of:\n"
 "  REG_BINARY -- Binary data in any form.\n"
 "  REG_DWORD -- A 32-bit number.\n"