From: Tim Peters Date: Thu, 8 Aug 2002 20:07:03 +0000 (+0000) Subject: Delete junk attributes left behind by _socketobject class construction. X-Git-Tag: v2.3c1~4610 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7e8a0dd372a928749674f5f5fd11a96115e0801;p=thirdparty%2FPython%2Fcpython.git Delete junk attributes left behind by _socketobject class construction. --- diff --git a/Lib/socket.py b/Lib/socket.py index 3611c439c798..86eb55e34d97 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