]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Delete junk attributes left behind by _socketobject class construction.
authorTim Peters <tim.peters@gmail.com>
Thu, 8 Aug 2002 20:07:03 +0000 (20:07 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 8 Aug 2002 20:07:03 +0000 (20:07 +0000)
Lib/socket.py

index 3611c439c798c866c6784059bc06023dbb3570a0..86eb55e34d97cea73ff5c2977ee43b742815dc22 100644 (file)
@@ -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