summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-08 20:07:03 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-08 20:07:03 (GMT)
commitd7e8a0dd372a928749674f5f5fd11a96115e0801 (patch)
treeb5b40de5060107aaae171911a4e35d51fd29acec /Lib/socket.py
parent4df78cddaa66cb891b6be15d0976e9689a75785e (diff)
downloadcpython-d7e8a0dd372a928749674f5f5fd11a96115e0801.zip
cpython-d7e8a0dd372a928749674f5f5fd11a96115e0801.tar.gz
cpython-d7e8a0dd372a928749674f5f5fd11a96115e0801.tar.bz2
Delete junk attributes left behind by _socketobject class construction.
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py1
1 files changed, 1 insertions, 0 deletions
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