From f626830cdebe2f77a776604c6ba648a7fc89a338 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 1 Mar 2020 19:14:18 +1100 Subject: [PATCH] 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`. --- examples/websocket/gevent_websocket.py | 2 +- examples/websocket/websocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/websocket/gevent_websocket.py b/examples/websocket/gevent_websocket.py index e0179c0e..fa839d0b 100644 --- a/examples/websocket/gevent_websocket.py +++ b/examples/websocket/gevent_websocket.py @@ -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']: diff --git a/examples/websocket/websocket.py b/examples/websocket/websocket.py index 8c969b60..a7a7cd0c 100644 --- a/examples/websocket/websocket.py +++ b/examples/websocket/websocket.py @@ -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']: