summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2003-01-15 23:38:15 +0000
committerMark Hammond <mhammond@skippinet.com.au>2003-01-15 23:38:15 +0000
commit2d4e03a22acbee9e0f1548191b14424c6ec790e4 (patch)
tree3e4277837a6d6551a1446f81f6ba8597078210b2 /PC
parent898cdb73e6691bfbd4769a7e8d1d3536e3f6f18b (diff)
downloadcpython-2d4e03a22acbee9e0f1548191b14424c6ec790e4.tar.gz
Correct docstring for SetValueEx()
Diffstat (limited to 'PC')
-rw-r--r--PC/_winreg.c2
1 files changed, 1 insertions, 1 deletions
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"