Regenerate Argument Clinic code for issue #23026.

This commit is contained in:
Serhiy Storchaka 2016-06-09 16:01:19 +03:00
parent fb51e65289
commit 877826ad3d
2 changed files with 5 additions and 3 deletions

View File

@ -907,7 +907,7 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
" An integer that specifies the type of the data, one of:\n" " An integer that specifies the type of the data, one of:\n"
" REG_BINARY -- Binary data in any form.\n" " REG_BINARY -- Binary data in any form.\n"
" REG_DWORD -- A 32-bit number.\n" " REG_DWORD -- A 32-bit number.\n"
" REG_DWORD_LITTLE_ENDIAN -- A 32-bit number in little-endian format.\n" " REG_DWORD_LITTLE_ENDIAN -- A 32-bit number in little-endian format. Equivalent to REG_DWORD\n"
" REG_DWORD_BIG_ENDIAN -- A 32-bit number in big-endian format.\n" " REG_DWORD_BIG_ENDIAN -- A 32-bit number in big-endian format.\n"
" REG_EXPAND_SZ -- A null-terminated string that contains unexpanded\n" " REG_EXPAND_SZ -- A null-terminated string that contains unexpanded\n"
" references to environment variables (for example,\n" " references to environment variables (for example,\n"
@ -917,6 +917,8 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
" by two null characters. Note that Python handles\n" " by two null characters. Note that Python handles\n"
" this termination automatically.\n" " this termination automatically.\n"
" REG_NONE -- No defined value type.\n" " REG_NONE -- No defined value type.\n"
" REG_QWORD -- A 64-bit number.\n"
" REG_QWORD_LITTLE_ENDIAN -- A 64-bit number in little-endian format. Equivalent to REG_QWORD.\n"
" REG_RESOURCE_LIST -- A device-driver resource list.\n" " REG_RESOURCE_LIST -- A device-driver resource list.\n"
" REG_SZ -- A null-terminated string.\n" " REG_SZ -- A null-terminated string.\n"
" value\n" " value\n"
@ -1056,4 +1058,4 @@ winreg_QueryReflectionKey(PyModuleDef *module, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=5e346dccc296f9f1 input=a9049054013a1b77]*/ /*[clinic end generated code: output=0b71782e9b37b12a input=a9049054013a1b77]*/

View File

@ -1657,7 +1657,7 @@ the configuration registry to help the registry perform efficiently.
static PyObject * static PyObject *
winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name, winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name,
PyObject *reserved, DWORD type, PyObject *value) PyObject *reserved, DWORD type, PyObject *value)
/*[clinic end generated code: output=ea092a935c361582 input=f1b16cbcc3ed4101]*/ /*[clinic end generated code: output=ea092a935c361582 input=900a9e3990bfb196]*/
{ {
BYTE *data; BYTE *data;
DWORD len; DWORD len;