summaryrefslogtreecommitdiff
path: root/Modules/md5module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/md5module.c')
-rw-r--r--Modules/md5module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c
index 59e4c6c269..78a2b45124 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -227,8 +227,8 @@ is made.";
/* List of functions exported by this module */
static PyMethodDef md5_functions[] = {
- {"new", (PyCFunction)MD5_new, 1, new_doc},
- {"md5", (PyCFunction)MD5_new, 1, new_doc}, /* Backward compatibility */
+ {"new", (PyCFunction)MD5_new, METH_VARARGS, new_doc},
+ {"md5", (PyCFunction)MD5_new, METH_VARARGS, new_doc}, /* Backward compatibility */
{NULL, NULL} /* Sentinel */
};