mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Silence warning about getdefaulttimeout in PyMethodDef.
This commit is contained in:
parent
7fa4bfa173
commit
1693ba8bf8
1 changed files with 1 additions and 1 deletions
|
@ -2820,7 +2820,7 @@ static PyMethodDef socket_methods[] = {
|
|||
METH_VARARGS, getaddrinfo_doc},
|
||||
{"getnameinfo", socket_getnameinfo,
|
||||
METH_VARARGS, getnameinfo_doc},
|
||||
{"getdefaulttimeout", socket_getdefaulttimeout,
|
||||
{"getdefaulttimeout", (PyCFunction)socket_getdefaulttimeout,
|
||||
METH_NOARGS, getdefaulttimeout_doc},
|
||||
{"setdefaulttimeout", socket_setdefaulttimeout,
|
||||
METH_O, setdefaulttimeout_doc},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue