_core.WebSocket.shutdown: Triple-quote docstring

This commit is contained in:
Allan Lewis 2016-04-27 11:33:24 +01:00
parent e033f2bd0a
commit 75bfea0833
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ class WebSocket(object):
self.sock.shutdown(socket.SHUT_RDWR)
def shutdown(self):
"close socket, immediately."
"""close socket, immediately."""
if self.sock:
self.sock.close()
self.sock = None