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