mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Patch #477750: Use METH_ constants in Modules.
This commit is contained in:
parent
c0e1671c71
commit
43b936d08c
27 changed files with 449 additions and 449 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue