[Python-checkins] cpython: Regenerate Argument Clinic code for issue #23026.

serhiy.storchaka python-checkins at python.org
Thu Jun 9 09:16:57 EDT 2016


https://hg.python.org/cpython/rev/5306f27c53aa
changeset:   101819:5306f27c53aa
parent:      101815:cc7f63b6847e
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Jun 09 16:01:19 2016 +0300
summary:
  Regenerate Argument Clinic code for issue #23026.

files:
  PC/clinic/winreg.c.h |  6 ++++--
  PC/winreg.c          |  2 +-
  2 files changed, 5 insertions(+), 3 deletions(-)


diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h
--- a/PC/clinic/winreg.c.h
+++ b/PC/clinic/winreg.c.h
@@ -907,7 +907,7 @@
 "    An integer that specifies the type of the data, one of:\n"
 "    REG_BINARY -- Binary data in any form.\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_EXPAND_SZ -- A null-terminated string that contains unexpanded\n"
 "                     references to environment variables (for example,\n"
@@ -917,6 +917,8 @@
 "                    by two null characters.  Note that Python handles\n"
 "                    this termination automatically.\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_SZ -- A null-terminated string.\n"
 "  value\n"
@@ -1056,4 +1058,4 @@
 exit:
     return return_value;
 }
-/*[clinic end generated code: output=5e346dccc296f9f1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0b71782e9b37b12a input=a9049054013a1b77]*/
diff --git a/PC/winreg.c b/PC/winreg.c
--- a/PC/winreg.c
+++ b/PC/winreg.c
@@ -1657,7 +1657,7 @@
 static PyObject *
 winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name,
                        PyObject *reserved, DWORD type, PyObject *value)
-/*[clinic end generated code: output=ea092a935c361582 input=f1b16cbcc3ed4101]*/
+/*[clinic end generated code: output=ea092a935c361582 input=900a9e3990bfb196]*/
 {
     BYTE *data;
     DWORD len;

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list