diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:37:44 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:37:44 (GMT) |
commit | 031829d3ef22fcc0f5a6d325fee075ee11186599 (patch) | |
tree | 1339a83e8d8b8fd86ca803ebbb63406465ae26b6 /PC/winsound.c | |
parent | 93cf79fde418725f2c2334eb062f9999da9e806d (diff) | |
download | cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.zip cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.tar.gz cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.tar.bz2 |
Use symbolic METH_VARARGS instead of 1 for ml_flags
Diffstat (limited to 'PC/winsound.c')
-rw-r--r-- | PC/winsound.c | 4 |
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} }; |