Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d2d759

Browse files
committed
PySocketSock_methods: Added "connect_ex" so the method can actually be
called!
1 parent 4a9aff2 commit 0d2d759

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/socketmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@ static PyMethodDef PySocketSock_methods[] = {
980980
{"bind", (PyCFunction)PySocketSock_bind},
981981
{"close", (PyCFunction)PySocketSock_close},
982982
{"connect", (PyCFunction)PySocketSock_connect},
983+
{"connect_ex", (PyCFunction)PySocketSock_connect_ex},
983984
{"fileno", (PyCFunction)PySocketSock_fileno},
984985
#ifndef NO_DUP
985986
{"dup", (PyCFunction)PySocketSock_dup},

0 commit comments

Comments
 (0)