commit | a1abb728bc0d3898539ea89effa7906a50366f1a | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Thu Aug 03 02:34:44 2000 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Thu Aug 03 02:34:44 2000 +0000 |
tree | 91b7f25e125d8c550fa277e32023a2a39a249619 | |
parent | 767bf49b6b3d8825cfa5c52c2e8019bd23429fcd [diff] [blame] |
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
diff --git a/Modules/cryptmodule.c b/Modules/cryptmodule.c index d3e0793..1e66039 100644 --- a/Modules/cryptmodule.c +++ b/Modules/cryptmodule.c
@@ -31,7 +31,7 @@ static PyMethodDef crypt_methods[] = { - {"crypt", crypt_crypt, 0, crypt_crypt__doc__}, + {"crypt", crypt_crypt, METH_OLDARGS, crypt_crypt__doc__}, {NULL, NULL} /* sentinel */ };