Skip to content

Commit c1bf8a0

Browse files
committed
Revert codes commited in other branch
1 parent 52121dd commit c1bf8a0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

PC/clinic/winreg.c.h

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/winreg.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,8 +1837,7 @@ winreg.SetValueEx
18371837
REG_RESOURCE_LIST -- A device-driver resource list.
18381838
REG_SZ -- A null-terminated string.
18391839
value: object
1840-
The new value to set. Accepts str, int, list of str, bytes-like object,
1841-
or None depending on the type parameter.
1840+
A string that specifies the new value.
18421841
/
18431842
18441843
Stores data in the value field of an open registry key.
@@ -1857,7 +1856,7 @@ the configuration registry to help the registry perform efficiently.
18571856
static PyObject *
18581857
winreg_SetValueEx_impl(PyObject *module, HKEY key, const wchar_t *value_name,
18591858
PyObject *reserved, DWORD type, PyObject *value)
1860-
/*[clinic end generated code: output=295db04deb456d9e input=2dd9471b4aff5b84]*/
1859+
/*[clinic end generated code: output=295db04deb456d9e input=900a9e3990bfb196]*/
18611860
{
18621861
LONG rc;
18631862
BYTE *data = NULL;

0 commit comments

Comments
 (0)