Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9083b6

Browse files
committed
Correct docstring for SetValueEx()
1 parent 62fe755 commit c9083b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PC/_winreg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ PyDoc_STRVAR(SetValueEx_doc,
258258
"SetValueEx(key, value_name, reserved, type, value) - Stores data in the value field of an open registry key.\n"
259259
"\n"
260260
"key is an already open key, or any one of the predefined HKEY_* constants.\n"
261-
"sub_key is a string that names the subkey with which the value is associated.\n"
261+
"value_name is a string containing the name of the value to set, or None\n"
262262
"type is an integer that specifies the type of the data. This should be one of:\n"
263263
" REG_BINARY -- Binary data in any form.\n"
264264
" REG_DWORD -- A 32-bit number.\n"

0 commit comments

Comments
 (0)