diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:37:44 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:37:44 +0000 |
commit | 031829d3ef22fcc0f5a6d325fee075ee11186599 (patch) | |
tree | 1339a83e8d8b8fd86ca803ebbb63406465ae26b6 /PC/winsound.c | |
parent | Use docstrings for exception classes (diff) | |
download | cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.tar.gz cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.tar.bz2 cpython-031829d3ef22fcc0f5a6d325fee075ee11186599.zip |
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 e182db536b6..704af6c283d 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} }; |