Mercurial > cpython-lru_cache-weakref
diff Modules/cryptmodule.c @ 13820:8bd82cf361aa legacy-trunk
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Thu, 03 Aug 2000 02:34:44 +0000 |
| parents | a6c7bfdd6777 |
| children | 3aa4bf7ac31e |
line wrap: on
line diff
--- a/Modules/cryptmodule.c Thu Aug 03 02:28:54 2000 +0000 +++ b/Modules/cryptmodule.c Thu Aug 03 02:34:44 2000 +0000 @@ -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 */ };
