Merge pull request #2282 from timgates42/bugfix_typo_convertible

Fix simple typo: convertable -> convertible
This commit is contained in:
Jason Madden 2020-03-01 07:29:57 -06:00 committed by GitHub
commit 915715262c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ class WebSocket(object):
def send(self, message): def send(self, message):
"""Send a message to the browser. """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 encodable as utf-8. Raises socket.error with errno of 32
(broken pipe) if the socket has already been closed by the client.""" (broken pipe) if the socket has already been closed by the client."""
if self.version in ['7', '8', '13']: if self.version in ['7', '8', '13']:

View File

@ -354,7 +354,7 @@ class WebSocket(object):
def send(self, message): def send(self, message):
"""Send a message to the browser. """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 encodable as utf-8. Raises socket.error with errno of 32
(broken pipe) if the socket has already been closed by the client.""" (broken pipe) if the socket has already been closed by the client."""
if self.version in ['7', '8', '13']: if self.version in ['7', '8', '13']: