summaryrefslogtreecommitdiffstats
path: root/PC/winsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/winsound.c')
-rw-r--r--PC/winsound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/winsound.c b/PC/winsound.c
index e182db5..704af6c 100644
--- a/PC/winsound.c
+++ b/PC/winsound.c
@@ -175,8 +175,8 @@ sound_beep(PyObject *self, PyObject *args)
static struct PyMethodDef sound_methods[] =
{
- {"PlaySound", sound_playsound, 1, sound_playsound_doc},
- {"Beep", sound_beep, 1, sound_beep_doc},
+ {"PlaySound", sound_playsound, METH_VARARGS, sound_playsound_doc},
+ {"Beep", sound_beep, METH_VARARGS, sound_beep_doc},
{NULL, NULL}
};