Use METH_OLDARGS instead of numeric constant 0 in method def. tables
diff --git a/Modules/md5module.c b/Modules/md5module.c
index 78a2b45..591ba28 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -126,9 +126,12 @@
static PyMethodDef md5_methods[] = {
- {"update", (PyCFunction)md5_update, 0, update_doc},
- {"digest", (PyCFunction)md5_digest, 0, digest_doc},
- {"copy", (PyCFunction)md5_copy, 0, copy_doc},
+ {"update", (PyCFunction)md5_update,
+ METH_OLDARGS, update_doc},
+ {"digest", (PyCFunction)md5_digest,
+ METH_OLDARGS, digest_doc},
+ {"copy", (PyCFunction)md5_copy,
+ METH_OLDARGS, copy_doc},
{NULL, NULL} /* sentinel */
};