Kaydet (Commit) d7e8a0dd authored tarafından Tim Peters's avatar Tim Peters

Delete junk attributes left behind by _socketobject class construction.

üst 4df78cdd
...@@ -178,6 +178,7 @@ class _socketobject(object): ...@@ -178,6 +178,7 @@ class _socketobject(object):
"%s.__doc__ = _realsocket.%s.__doc__\n") "%s.__doc__ = _realsocket.%s.__doc__\n")
for _m in _socketmethods: for _m in _socketmethods:
exec _s % (_m, _m, _m, _m) exec _s % (_m, _m, _m, _m)
del _m, _s
if _needwrapper: if _needwrapper:
socket = _socketobject socket = _socketobject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment