summaryrefslogtreecommitdiffstats
path: root/PC/clinic
diff options
context:
space:
mode:
Diffstat (limited to 'PC/clinic')
-rw-r--r--PC/clinic/msvcrtmodule.c.h48
-rw-r--r--PC/clinic/winreg.c.h105
-rw-r--r--PC/clinic/winsound.c.h11
3 files changed, 62 insertions, 102 deletions
diff --git a/PC/clinic/msvcrtmodule.c.h b/PC/clinic/msvcrtmodule.c.h
index de6fa29..51923fc 100644
--- a/PC/clinic/msvcrtmodule.c.h
+++ b/PC/clinic/msvcrtmodule.c.h
@@ -50,8 +50,7 @@ msvcrt_locking(PyModuleDef *module, PyObject *args)
int mode;
long nbytes;
- if (!PyArg_ParseTuple(args,
- "iil:locking",
+ if (!PyArg_ParseTuple(args, "iil:locking",
&fd, &mode, &nbytes))
goto exit;
return_value = msvcrt_locking_impl(module, fd, mode, nbytes);
@@ -85,8 +84,7 @@ msvcrt_setmode(PyModuleDef *module, PyObject *args)
int flags;
long _return_value;
- if (!PyArg_ParseTuple(args,
- "ii:setmode",
+ if (!PyArg_ParseTuple(args, "ii:setmode",
&fd, &flags))
goto exit;
_return_value = msvcrt_setmode_impl(module, fd, flags);
@@ -112,7 +110,8 @@ PyDoc_STRVAR(msvcrt_open_osfhandle__doc__,
{"open_osfhandle", (PyCFunction)msvcrt_open_osfhandle, METH_VARARGS, msvcrt_open_osfhandle__doc__},
static long
-msvcrt_open_osfhandle_impl(PyModuleDef *module, Py_intptr_t handle, int flags);
+msvcrt_open_osfhandle_impl(PyModuleDef *module, Py_intptr_t handle,
+ int flags);
static PyObject *
msvcrt_open_osfhandle(PyModuleDef *module, PyObject *args)
@@ -122,8 +121,7 @@ msvcrt_open_osfhandle(PyModuleDef *module, PyObject *args)
int flags;
long _return_value;
- if (!PyArg_ParseTuple(args,
- ""_Py_PARSE_INTPTR"i:open_osfhandle",
+ if (!PyArg_ParseTuple(args, ""_Py_PARSE_INTPTR"i:open_osfhandle",
&handle, &flags))
goto exit;
_return_value = msvcrt_open_osfhandle_impl(module, handle, flags);
@@ -156,9 +154,7 @@ msvcrt_get_osfhandle(PyModuleDef *module, PyObject *arg)
int fd;
Py_intptr_t _return_value;
- if (!PyArg_Parse(arg,
- "i:get_osfhandle",
- &fd))
+ if (!PyArg_Parse(arg, "i:get_osfhandle", &fd))
goto exit;
_return_value = msvcrt_get_osfhandle_impl(module, fd);
if ((_return_value == -1) && PyErr_Occurred())
@@ -324,9 +320,7 @@ msvcrt_putch(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
char char_value;
- if (!PyArg_Parse(arg,
- "c:putch",
- &char_value))
+ if (!PyArg_Parse(arg, "c:putch", &char_value))
goto exit;
return_value = msvcrt_putch_impl(module, char_value);
@@ -354,9 +348,7 @@ msvcrt_putwch(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int unicode_char;
- if (!PyArg_Parse(arg,
- "C:putwch",
- &unicode_char))
+ if (!PyArg_Parse(arg, "C:putwch", &unicode_char))
goto exit;
return_value = msvcrt_putwch_impl(module, unicode_char);
@@ -388,9 +380,7 @@ msvcrt_ungetch(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
char char_value;
- if (!PyArg_Parse(arg,
- "c:ungetch",
- &char_value))
+ if (!PyArg_Parse(arg, "c:ungetch", &char_value))
goto exit;
return_value = msvcrt_ungetch_impl(module, char_value);
@@ -418,9 +408,7 @@ msvcrt_ungetwch(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int unicode_char;
- if (!PyArg_Parse(arg,
- "C:ungetwch",
- &unicode_char))
+ if (!PyArg_Parse(arg, "C:ungetwch", &unicode_char))
goto exit;
return_value = msvcrt_ungetwch_impl(module, unicode_char);
@@ -454,8 +442,7 @@ msvcrt_CrtSetReportFile(PyModuleDef *module, PyObject *args)
int file;
long _return_value;
- if (!PyArg_ParseTuple(args,
- "ii:CrtSetReportFile",
+ if (!PyArg_ParseTuple(args, "ii:CrtSetReportFile",
&type, &file))
goto exit;
_return_value = msvcrt_CrtSetReportFile_impl(module, type, file);
@@ -493,8 +480,7 @@ msvcrt_CrtSetReportMode(PyModuleDef *module, PyObject *args)
int mode;
long _return_value;
- if (!PyArg_ParseTuple(args,
- "ii:CrtSetReportMode",
+ if (!PyArg_ParseTuple(args, "ii:CrtSetReportMode",
&type, &mode))
goto exit;
_return_value = msvcrt_CrtSetReportMode_impl(module, type, mode);
@@ -531,9 +517,7 @@ msvcrt_set_error_mode(PyModuleDef *module, PyObject *arg)
int mode;
long _return_value;
- if (!PyArg_Parse(arg,
- "i:set_error_mode",
- &mode))
+ if (!PyArg_Parse(arg, "i:set_error_mode", &mode))
goto exit;
_return_value = msvcrt_set_error_mode_impl(module, mode);
if ((_return_value == -1) && PyErr_Occurred())
@@ -564,9 +548,7 @@ msvcrt_SetErrorMode(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
unsigned int mode;
- if (!PyArg_Parse(arg,
- "I:SetErrorMode",
- &mode))
+ if (!PyArg_Parse(arg, "I:SetErrorMode", &mode))
goto exit;
return_value = msvcrt_SetErrorMode_impl(module, mode);
@@ -601,4 +583,4 @@ exit:
#ifndef MSVCRT_SET_ERROR_MODE_METHODDEF
#define MSVCRT_SET_ERROR_MODE_METHODDEF
#endif /* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */
-/*[clinic end generated code: output=41dfb6ca722afa4f input=a9049054013a1b77]*/
+/*[clinic end generated code: output=72468bb32006a11b input=a9049054013a1b77]*/
diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h
index 6aff424b8..22b332f 100644
--- a/PC/clinic/winreg.c.h
+++ b/PC/clinic/winreg.c.h
@@ -80,7 +80,8 @@ PyDoc_STRVAR(winreg_HKEYType___exit____doc__,
{"__exit__", (PyCFunction)winreg_HKEYType___exit__, METH_VARARGS|METH_KEYWORDS, winreg_HKEYType___exit____doc__},
static PyObject *
-winreg_HKEYType___exit___impl(PyHKEYObject *self, PyObject *exc_type, PyObject *exc_value, PyObject *traceback);
+winreg_HKEYType___exit___impl(PyHKEYObject *self, PyObject *exc_type,
+ PyObject *exc_value, PyObject *traceback);
static PyObject *
winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *args, PyObject *kwargs)
@@ -91,8 +92,7 @@ winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *args, PyObject *kwargs)
PyObject *exc_value;
PyObject *traceback;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "OOO:__exit__", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:__exit__", _keywords,
&exc_type, &exc_value, &traceback))
goto exit;
return_value = winreg_HKEYType___exit___impl(self, exc_type, exc_value, traceback);
@@ -135,7 +135,8 @@ PyDoc_STRVAR(winreg_ConnectRegistry__doc__,
{"ConnectRegistry", (PyCFunction)winreg_ConnectRegistry, METH_VARARGS, winreg_ConnectRegistry__doc__},
static HKEY
-winreg_ConnectRegistry_impl(PyModuleDef *module, Py_UNICODE *computer_name, HKEY key);
+winreg_ConnectRegistry_impl(PyModuleDef *module, Py_UNICODE *computer_name,
+ HKEY key);
static PyObject *
winreg_ConnectRegistry(PyModuleDef *module, PyObject *args)
@@ -145,8 +146,7 @@ winreg_ConnectRegistry(PyModuleDef *module, PyObject *args)
HKEY key;
HKEY _return_value;
- if (!PyArg_ParseTuple(args,
- "ZO&:ConnectRegistry",
+ if (!PyArg_ParseTuple(args, "ZO&:ConnectRegistry",
&computer_name, clinic_HKEY_converter, &key))
goto exit;
_return_value = winreg_ConnectRegistry_impl(module, computer_name, key);
@@ -191,8 +191,7 @@ winreg_CreateKey(PyModuleDef *module, PyObject *args)
Py_UNICODE *sub_key;
HKEY _return_value;
- if (!PyArg_ParseTuple(args,
- "O&Z:CreateKey",
+ if (!PyArg_ParseTuple(args, "O&Z:CreateKey",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
_return_value = winreg_CreateKey_impl(module, key, sub_key);
@@ -233,7 +232,8 @@ PyDoc_STRVAR(winreg_CreateKeyEx__doc__,
{"CreateKeyEx", (PyCFunction)winreg_CreateKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_CreateKeyEx__doc__},
static HKEY
-winreg_CreateKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_CreateKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_CreateKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -246,8 +246,7 @@ winreg_CreateKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_WRITE;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:CreateKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:CreateKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_CreateKeyEx_impl(module, key, sub_key, reserved, access);
@@ -290,8 +289,7 @@ winreg_DeleteKey(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *sub_key;
- if (!PyArg_ParseTuple(args,
- "O&u:DeleteKey",
+ if (!PyArg_ParseTuple(args, "O&u:DeleteKey",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
return_value = winreg_DeleteKey_impl(module, key, sub_key);
@@ -329,7 +327,8 @@ PyDoc_STRVAR(winreg_DeleteKeyEx__doc__,
{"DeleteKeyEx", (PyCFunction)winreg_DeleteKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_DeleteKeyEx__doc__},
static PyObject *
-winreg_DeleteKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, REGSAM access, int reserved);
+winreg_DeleteKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ REGSAM access, int reserved);
static PyObject *
winreg_DeleteKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -341,8 +340,7 @@ winreg_DeleteKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_WOW64_64KEY;
int reserved = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&u|ii:DeleteKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&u|ii:DeleteKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &access, &reserved))
goto exit;
return_value = winreg_DeleteKeyEx_impl(module, key, sub_key, access, reserved);
@@ -375,8 +373,7 @@ winreg_DeleteValue(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *value;
- if (!PyArg_ParseTuple(args,
- "O&Z:DeleteValue",
+ if (!PyArg_ParseTuple(args, "O&Z:DeleteValue",
clinic_HKEY_converter, &key, &value))
goto exit;
return_value = winreg_DeleteValue_impl(module, key, value);
@@ -413,8 +410,7 @@ winreg_EnumKey(PyModuleDef *module, PyObject *args)
HKEY key;
int index;
- if (!PyArg_ParseTuple(args,
- "O&i:EnumKey",
+ if (!PyArg_ParseTuple(args, "O&i:EnumKey",
clinic_HKEY_converter, &key, &index))
goto exit;
return_value = winreg_EnumKey_impl(module, key, index);
@@ -460,8 +456,7 @@ winreg_EnumValue(PyModuleDef *module, PyObject *args)
HKEY key;
int index;
- if (!PyArg_ParseTuple(args,
- "O&i:EnumValue",
+ if (!PyArg_ParseTuple(args, "O&i:EnumValue",
clinic_HKEY_converter, &key, &index))
goto exit;
return_value = winreg_EnumValue_impl(module, key, index);
@@ -488,9 +483,7 @@ winreg_ExpandEnvironmentStrings(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_UNICODE *string;
- if (!PyArg_Parse(arg,
- "u:ExpandEnvironmentStrings",
- &string))
+ if (!PyArg_Parse(arg, "u:ExpandEnvironmentStrings", &string))
goto exit;
return_value = winreg_ExpandEnvironmentStrings_impl(module, string);
@@ -529,9 +522,7 @@ winreg_FlushKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:FlushKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:FlushKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_FlushKey_impl(module, key);
@@ -571,7 +562,8 @@ PyDoc_STRVAR(winreg_LoadKey__doc__,
{"LoadKey", (PyCFunction)winreg_LoadKey, METH_VARARGS, winreg_LoadKey__doc__},
static PyObject *
-winreg_LoadKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, Py_UNICODE *file_name);
+winreg_LoadKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ Py_UNICODE *file_name);
static PyObject *
winreg_LoadKey(PyModuleDef *module, PyObject *args)
@@ -581,8 +573,7 @@ winreg_LoadKey(PyModuleDef *module, PyObject *args)
Py_UNICODE *sub_key;
Py_UNICODE *file_name;
- if (!PyArg_ParseTuple(args,
- "O&uu:LoadKey",
+ if (!PyArg_ParseTuple(args, "O&uu:LoadKey",
clinic_HKEY_converter, &key, &sub_key, &file_name))
goto exit;
return_value = winreg_LoadKey_impl(module, key, sub_key, file_name);
@@ -614,7 +605,8 @@ PyDoc_STRVAR(winreg_OpenKey__doc__,
{"OpenKey", (PyCFunction)winreg_OpenKey, METH_VARARGS|METH_KEYWORDS, winreg_OpenKey__doc__},
static HKEY
-winreg_OpenKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_OpenKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_OpenKey(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -627,8 +619,7 @@ winreg_OpenKey(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_READ;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:OpenKey", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:OpenKey", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_OpenKey_impl(module, key, sub_key, reserved, access);
@@ -663,7 +654,8 @@ PyDoc_STRVAR(winreg_OpenKeyEx__doc__,
{"OpenKeyEx", (PyCFunction)winreg_OpenKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_OpenKeyEx__doc__},
static HKEY
-winreg_OpenKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_OpenKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_OpenKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -676,8 +668,7 @@ winreg_OpenKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_READ;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:OpenKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:OpenKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_OpenKeyEx_impl(module, key, sub_key, reserved, access);
@@ -716,9 +707,7 @@ winreg_QueryInfoKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:QueryInfoKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:QueryInfoKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_QueryInfoKey_impl(module, key);
@@ -759,8 +748,7 @@ winreg_QueryValue(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *sub_key;
- if (!PyArg_ParseTuple(args,
- "O&Z:QueryValue",
+ if (!PyArg_ParseTuple(args, "O&Z:QueryValue",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
return_value = winreg_QueryValue_impl(module, key, sub_key);
@@ -798,8 +786,7 @@ winreg_QueryValueEx(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *name;
- if (!PyArg_ParseTuple(args,
- "O&Z:QueryValueEx",
+ if (!PyArg_ParseTuple(args, "O&Z:QueryValueEx",
clinic_HKEY_converter, &key, &name))
goto exit;
return_value = winreg_QueryValueEx_impl(module, key, name);
@@ -842,8 +829,7 @@ winreg_SaveKey(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *file_name;
- if (!PyArg_ParseTuple(args,
- "O&u:SaveKey",
+ if (!PyArg_ParseTuple(args, "O&u:SaveKey",
clinic_HKEY_converter, &key, &file_name))
goto exit;
return_value = winreg_SaveKey_impl(module, key, file_name);
@@ -882,7 +868,9 @@ PyDoc_STRVAR(winreg_SetValue__doc__,
{"SetValue", (PyCFunction)winreg_SetValue, METH_VARARGS, winreg_SetValue__doc__},
static PyObject *
-winreg_SetValue_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, DWORD type, Py_UNICODE *value, Py_ssize_clean_t value_length);
+winreg_SetValue_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ DWORD type, Py_UNICODE *value,
+ Py_ssize_clean_t value_length);
static PyObject *
winreg_SetValue(PyModuleDef *module, PyObject *args)
@@ -894,8 +882,7 @@ winreg_SetValue(PyModuleDef *module, PyObject *args)
Py_UNICODE *value;
Py_ssize_clean_t value_length;
- if (!PyArg_ParseTuple(args,
- "O&Zku#:SetValue",
+ if (!PyArg_ParseTuple(args, "O&Zku#:SetValue",
clinic_HKEY_converter, &key, &sub_key, &type, &value, &value_length))
goto exit;
return_value = winreg_SetValue_impl(module, key, sub_key, type, value, value_length);
@@ -949,7 +936,8 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
{"SetValueEx", (PyCFunction)winreg_SetValueEx, METH_VARARGS, winreg_SetValueEx__doc__},
static PyObject *
-winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name, PyObject *reserved, DWORD type, PyObject *value);
+winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name,
+ PyObject *reserved, DWORD type, PyObject *value);
static PyObject *
winreg_SetValueEx(PyModuleDef *module, PyObject *args)
@@ -961,8 +949,7 @@ winreg_SetValueEx(PyModuleDef *module, PyObject *args)
DWORD type;
PyObject *value;
- if (!PyArg_ParseTuple(args,
- "O&ZOkO:SetValueEx",
+ if (!PyArg_ParseTuple(args, "O&ZOkO:SetValueEx",
clinic_HKEY_converter, &key, &value_name, &reserved, &type, &value))
goto exit;
return_value = winreg_SetValueEx_impl(module, key, value_name, reserved, type, value);
@@ -998,9 +985,7 @@ winreg_DisableReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:DisableReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:DisableReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_DisableReflectionKey_impl(module, key);
@@ -1033,9 +1018,7 @@ winreg_EnableReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:EnableReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:EnableReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_EnableReflectionKey_impl(module, key);
@@ -1066,13 +1049,11 @@ winreg_QueryReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:QueryReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:QueryReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_QueryReflectionKey_impl(module, key);
exit:
return return_value;
}
-/*[clinic end generated code: output=be6e50b901570878 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=71f5bc30b646807b input=a9049054013a1b77]*/
diff --git a/PC/clinic/winsound.c.h b/PC/clinic/winsound.c.h
index 065ed62..dca5a42 100644
--- a/PC/clinic/winsound.c.h
+++ b/PC/clinic/winsound.c.h
@@ -26,8 +26,7 @@ winsound_PlaySound(PyModuleDef *module, PyObject *args)
Py_UNICODE *sound;
int flags;
- if (!PyArg_ParseTuple(args,
- "Zi:PlaySound",
+ if (!PyArg_ParseTuple(args, "Zi:PlaySound",
&sound, &flags))
goto exit;
return_value = winsound_PlaySound_impl(module, sound, flags);
@@ -61,8 +60,7 @@ winsound_Beep(PyModuleDef *module, PyObject *args)
int frequency;
int duration;
- if (!PyArg_ParseTuple(args,
- "ii:Beep",
+ if (!PyArg_ParseTuple(args, "ii:Beep",
&frequency, &duration))
goto exit;
return_value = winsound_Beep_impl(module, frequency, duration);
@@ -91,8 +89,7 @@ winsound_MessageBeep(PyModuleDef *module, PyObject *args)
PyObject *return_value = NULL;
int x = MB_OK;
- if (!PyArg_ParseTuple(args,
- "|i:MessageBeep",
+ if (!PyArg_ParseTuple(args, "|i:MessageBeep",
&x))
goto exit;
return_value = winsound_MessageBeep_impl(module, x);
@@ -100,4 +97,4 @@ winsound_MessageBeep(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=89c85ed36c3af2fd input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c5b018ac9dc1f500 input=a9049054013a1b77]*/