diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-05-13 15:58:35 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-05-13 15:58:35 (GMT) |
commit | 77772c0e7b8bcc21ddcfbc1be84df34bbd84942b (patch) | |
tree | fa45e61ab766bc5fb1ba5d2472157e552cb24a23 /PC/clinic/winsound.c.h | |
parent | 14ef1a12c7379623b11dd7a24f2095cb8e6c9656 (diff) | |
download | cpython-77772c0e7b8bcc21ddcfbc1be84df34bbd84942b.zip cpython-77772c0e7b8bcc21ddcfbc1be84df34bbd84942b.tar.gz cpython-77772c0e7b8bcc21ddcfbc1be84df34bbd84942b.tar.bz2 |
Issue #20172: Update clinicizations to current clinic.
Diffstat (limited to 'PC/clinic/winsound.c.h')
-rw-r--r-- | PC/clinic/winsound.c.h | 11 |
1 files changed, 4 insertions, 7 deletions
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]*/ |