From a1abb728bc0d3898539ea89effa7906a50366f1a Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Thu, 3 Aug 2000 02:34:44 +0000 Subject: Use METH_OLDARGS instead of numeric constant 0 in method def. tables --- Modules/cryptmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/cryptmodule.c') diff --git a/Modules/cryptmodule.c b/Modules/cryptmodule.c index d3e0793192..1e660391fc 100644 --- a/Modules/cryptmodule.c +++ b/Modules/cryptmodule.c @@ -31,7 +31,7 @@ the same alphabet as the salt."; static PyMethodDef crypt_methods[] = { - {"crypt", crypt_crypt, 0, crypt_crypt__doc__}, + {"crypt", crypt_crypt, METH_OLDARGS, crypt_crypt__doc__}, {NULL, NULL} /* sentinel */ }; -- cgit v1.2.1