commit | 715f970969e7acb4ba66b6369ce8bd9d88fc6ef1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 08 18:11:36 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 08 18:11:36 2002 +0000 |
tree | f0c081160c798fe2f2070d612fd3c72eebdb0fa8 | |
parent | 48b7969af8aa537c306eeec8d22235f360c229ed [diff] |
The _socketobject class has no need for a __del__ method: all it did was to delete the reference to self._sock, and the regular destructor will do that just fine. This made some hacks in close() unnecessary. The _fileobject class still has a __del__ method, because it must flush.