Fix docstring, comment typos

This commit is contained in:
JOlson
2020-05-09 16:37:38 +12:00
committed by Jacob Plaster
parent 51803c87c9
commit 427e99710e
17 changed files with 52 additions and 43 deletions

View File

@@ -18,7 +18,7 @@ class Subscription:
"""
Object used to represent an individual subscription to the websocket.
This class also exposes certain functions which helps to manage the subscription
such as unsibscribe and subscribe.
such as unsubscribe and subscribe.
"""
def __init__(self, socket, channel_name, symbol, key=None, timeframe=None, **kwargs):
@@ -49,7 +49,7 @@ class Subscription:
async def unsubscribe(self):
"""
Send an unsubscription request to the bitfinex socket
Send an un-subscription request to the bitfinex socket
"""
if not self.is_subscribed():
raise Exception("Subscription is not subscribed to websocket")