Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa4bfa commit 1693ba8Copy full SHA for 1693ba8
1 file changed
Modules/socketmodule.c
@@ -2820,7 +2820,7 @@ static PyMethodDef socket_methods[] = {
2820
METH_VARARGS, getaddrinfo_doc},
2821
{"getnameinfo", socket_getnameinfo,
2822
METH_VARARGS, getnameinfo_doc},
2823
- {"getdefaulttimeout", socket_getdefaulttimeout,
+ {"getdefaulttimeout", (PyCFunction)socket_getdefaulttimeout,
2824
METH_NOARGS, getdefaulttimeout_doc},
2825
{"setdefaulttimeout", socket_setdefaulttimeout,
2826
METH_O, setdefaulttimeout_doc},
0 commit comments