mirror of https://github.com/python/cpython
remove SocketIO.__del__; close() can handle it
This commit is contained in:
parent
d4fcdb1ea8
commit
34d17debb7
|
@ -252,10 +252,6 @@ class SocketIO(io.RawIOBase):
|
||||||
self._sock._decref_socketios()
|
self._sock._decref_socketios()
|
||||||
self._sock = None
|
self._sock = None
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
if not self.closed:
|
|
||||||
self._sock._decref_socketios()
|
|
||||||
|
|
||||||
|
|
||||||
def getfqdn(name=''):
|
def getfqdn(name=''):
|
||||||
"""Get fully qualified domain name from name.
|
"""Get fully qualified domain name from name.
|
||||||
|
|
Loading…
Reference in New Issue