summaryrefslogtreecommitdiffstats
path: root/Modules/md5module.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-08-03 02:06:16 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-08-03 02:06:16 (GMT)
commite365fb8d1ff062d619f9476265e48e9ba8ab2bf6 (patch)
treecb80331534a82abbadb7d45e9f654c3e97b1b3f5 /Modules/md5module.c
parent14f515844d3eae2818af3f1da7b32c38d8e73078 (diff)
downloadcpython-e365fb8d1ff062d619f9476265e48e9ba8ab2bf6.zip
cpython-e365fb8d1ff062d619f9476265e48e9ba8ab2bf6.tar.gz
cpython-e365fb8d1ff062d619f9476265e48e9ba8ab2bf6.tar.bz2
Use METH_VARARGS instead of numeric constant 1 in method def. tables
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 59e4c6c..78a2b45 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 */
};