@@ -664,14 +664,13 @@ def subscribe(self, topic, qos=0):
664
664
This method can subscribe to one topics or multiple topics.
665
665
666
666
:param str,tuple,list topic: Unique MQTT topic identifier string. If
667
- this is a `tuple`, then the tuple should contain topic identifier
668
- string and qos level integer. If this is a `list`, then each list
669
- element should be a tuple containing a topic identifier string and
670
- qos level integer.
667
+ this is a `tuple`, then the tuple should contain topic identifier
668
+ string and qos level integer. If this is a `list`, then each list
669
+ element should be a tuple containing a topic identifier string and
670
+ qos level integer.
671
671
:param int qos: Quality of Service level for the topic, defaults to
672
- zero. Conventional options are ``0`` (send at most once), ``1``
673
- (send at least once), or ``2`` (send exactly once).
674
- .. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
672
+ zero. Conventional options are ``0`` (send at most once), ``1``
673
+ (send at least once), or ``2`` (send exactly once).
675
674
676
675
"""
677
676
self .is_connected ()
@@ -723,7 +722,7 @@ def subscribe(self, topic, qos=0):
723
722
def unsubscribe (self , topic ):
724
723
"""Unsubscribes from a MQTT topic.
725
724
:param str,list topic: Unique MQTT topic identifier string or a list
726
- of tuples, where each tuple contains an MQTT topic identier string.
725
+ of tuples, where each tuple contains an MQTT topic identier string.
727
726
728
727
"""
729
728
topics = None
0 commit comments