summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"