diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-08-03 02:34:44 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-08-03 02:34:44 +0000 |
commit | 97890d6b39689a6de015c900f44d57882d6198b2 (patch) | |
tree | 5c80a68e5096116e2acc3a1fae350872c68cc1d8 /Modules/cryptmodule.c | |
parent | 522b2231dd64cc58cdab38b4ee4ed18265244c2a (diff) | |
download | cpython-97890d6b39689a6de015c900f44d57882d6198b2.tar.gz |
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
Diffstat (limited to 'Modules/cryptmodule.c')
-rw-r--r-- | Modules/cryptmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }; |