]> granicus.if.org Git - python/commit
In dealloc(), only close the socket if fd != -1.
authorGuido van Rossum <guido@python.org>
Mon, 10 Apr 2000 12:45:45 +0000 (12:45 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Apr 2000 12:45:45 +0000 (12:45 +0000)
commitfa972c987c394507ca6fb76de5ef0b47e9301226
tree5f50005e82d6facf6ac23ae94daebd1e23380bb8
parent7aff6f34fe5af475dae2228402b849a5557dd53d
In dealloc(), only close the socket if fd != -1.
Modules/socketmodule.c