summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index a82e48d..7818875 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -252,10 +252,6 @@ class SocketIO(io.RawIOBase):
self._sock._decref_socketios()
self._sock = None
- def __del__(self):
- if not self.closed:
- self._sock._decref_socketios()
-
def getfqdn(name=''):
"""Get fully qualified domain name from name.