Patch #477750: Use METH_ constants in Modules.

This commit is contained in:
Martin v. Löwis 2002-01-17 23:15:58 +00:00
parent c0e1671c71
commit 43b936d08c
27 changed files with 449 additions and 449 deletions

View file

@ -2863,9 +2863,9 @@ static char PySSL_SSLread_doc[] =
Read up to len bytes from the SSL socket.";
static PyMethodDef PySSLMethods[] = {
{"write", (PyCFunction)PySSL_SSLwrite, 1,
{"write", (PyCFunction)PySSL_SSLwrite, METH_VARARGS,
PySSL_SSLwrite_doc},
{"read", (PyCFunction)PySSL_SSLread, 1,
{"read", (PyCFunction)PySSL_SSLread, METH_VARARGS,
PySSL_SSLread_doc},
{"server", (PyCFunction)PySSL_server, METH_NOARGS},
{"issuer", (PyCFunction)PySSL_issuer, METH_NOARGS},