mirror of
https://github.com/python/cpython.git
synced 2024-12-29 19:55:17 +08:00
Add comment
This commit is contained in:
parent
71a28a9174
commit
600012028e
@ -149,6 +149,8 @@ class _ConnectionBase:
|
||||
self._readable = readable
|
||||
self._writable = writable
|
||||
|
||||
# XXX should we use util.Finalize instead of a __del__?
|
||||
|
||||
def __del__(self):
|
||||
if self._handle is not None:
|
||||
self._close()
|
||||
|
Loading…
Reference in New Issue
Block a user