Fix simple typo: convertable -> convertible

There is a small typo in examples/websocket/gevent_websocket.py, examples/websocket/websocket.py.
Should read `convertible` rather than `convertable`.
This commit is contained in:
Tim Gates 2020-03-01 19:14:18 +11:00
parent 7d8c92f48a
commit f626830cde
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ class WebSocket(object):
def send(self, message):
"""Send a message to the browser.
*message* should be convertable to a string; unicode objects should be
*message* should be convertible to a string; unicode objects should be
encodable as utf-8. Raises socket.error with errno of 32
(broken pipe) if the socket has already been closed by the client."""
if self.version in ['7', '8', '13']:

View File

@ -354,7 +354,7 @@ class WebSocket(object):
def send(self, message):
"""Send a message to the browser.
*message* should be convertable to a string; unicode objects should be
*message* should be convertible to a string; unicode objects should be
encodable as utf-8. Raises socket.error with errno of 32
(broken pipe) if the socket has already been closed by the client."""
if self.version in ['7', '8', '13']: