DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python closing socket good way
with contextlib.ignore(OSError), closing(sock): sock.shutdown()
Source by news.ycombinator.com #
PREVIOUS
NEXT
Tagged:
#python
#closing
#socket
#good
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit