From d7e8a0dd372a928749674f5f5fd11a96115e0801 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 8 Aug 2002 20:07:03 +0000 Subject: Delete junk attributes left behind by _socketobject class construction. --- Lib/socket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/socket.py b/Lib/socket.py index 3611c43..86eb55e 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -178,6 +178,7 @@ class _socketobject(object): "%s.__doc__ = _realsocket.%s.__doc__\n") for _m in _socketmethods: exec _s % (_m, _m, _m, _m) + del _m, _s if _needwrapper: socket = _socketobject -- cgit v0.12