]> granicus.if.org Git - python/commitdiff
Correct docstring for SetValueEx()
authorMark Hammond <mhammond@skippinet.com.au>
Wed, 15 Jan 2003 23:38:15 +0000 (23:38 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Wed, 15 Jan 2003 23:38:15 +0000 (23:38 +0000)
PC/_winreg.c

index cbf30fc7aedfd80bb89bb1d8d005508d0da1d75a..de66f6a34cfdd36743c580d515d9a8edeb2ecd3e 100644 (file)
@@ -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"