Delete junk attributes left behind by _socketobject class construction.
This commit is contained in:
parent
4df78cddaa
commit
d7e8a0dd37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue