Use METH_VARARGS instead of numeric constant 1 in method def. tables
diff --git a/Modules/binascii.c b/Modules/binascii.c
index 5c9944a..50f8b76 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -877,20 +877,27 @@
/* List of functions defined in the module */
static struct PyMethodDef binascii_module_methods[] = {
- {"a2b_uu", binascii_a2b_uu, 1, doc_a2b_uu},
- {"b2a_uu", binascii_b2a_uu, 1, doc_b2a_uu},
- {"a2b_base64", binascii_a2b_base64, 1,
+ {"a2b_uu", binascii_a2b_uu,
+ METH_VARARGS, doc_a2b_uu},
+ {"b2a_uu", binascii_b2a_uu,
+ METH_VARARGS, doc_b2a_uu},
+ {"a2b_base64", binascii_a2b_base64,
+ METH_VARARGS,
doc_a2b_base64},
- {"b2a_base64", binascii_b2a_base64, 1,
- doc_b2a_base64},
- {"a2b_hqx", binascii_a2b_hqx, 1, doc_a2b_hqx},
- {"b2a_hqx", binascii_b2a_hqx, 1, doc_b2a_hqx},
- {"rlecode_hqx", binascii_rlecode_hqx, 1,
- doc_rlecode_hqx},
- {"rledecode_hqx", binascii_rledecode_hqx, 1,
- doc_rledecode_hqx},
- {"crc_hqx", binascii_crc_hqx, 1, doc_crc_hqx},
- {"crc32", binascii_crc32, 1, doc_crc32},
+ {"b2a_base64", binascii_b2a_base64,
+ METH_VARARGS, doc_b2a_base64},
+ {"a2b_hqx", binascii_a2b_hqx,
+ METH_VARARGS, doc_a2b_hqx},
+ {"b2a_hqx", binascii_b2a_hqx,
+ METH_VARARGS, doc_b2a_hqx},
+ {"rlecode_hqx", binascii_rlecode_hqx,
+ METH_VARARGS, doc_rlecode_hqx},
+ {"rledecode_hqx", binascii_rledecode_hqx,
+ METH_VARARGS, doc_rledecode_hqx},
+ {"crc_hqx", binascii_crc_hqx,
+ METH_VARARGS, doc_crc_hqx},
+ {"crc32", binascii_crc32,
+ METH_VARARGS, doc_crc32},
{NULL, NULL} /* sentinel */
};