]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Oops. That wasn't supposed to be backported. :-(
authorGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:11:15 +0000 (20:11 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:11:15 +0000 (20:11 +0000)
Modules/socketmodule.c

index 172a507e87f24d82b948a97a5ea1ec305f87b124..47ddcd54141d0b55bfce3374e638ab9b19a7fe63 100644 (file)
@@ -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;
 }