From 4130d6c23a85bb668ebc36a3a1074fb337f36bbc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 6 Jun 2002 20:11:15 +0000 Subject: [PATCH] Oops. That wasn't supposed to be backported. :-( --- Modules/socketmodule.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 172a507e87f2..47ddcd54141d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -1800,10 +1800,8 @@ PySocketSock_new(PyTypeObject *type, PyObject *args, PyObject *kwds) PyObject *new; new = type->tp_alloc(type, 0); - if (new != NULL) { + if (new != NULL) ((PySocketSockObject *)new)->sock_fd = -1; - ((PySocketSockObject *)new)->errorhandler = &PySocket_Err; - } return new; } -- 2.47.3