@@ -584,9 +584,8 @@ def publish(self, topic, msg, retain=False, qos=0):
584584 :param str topic: Unique topic identifier.
585585 :param str,int,float msg: Data to send to the broker.
586586 :param bool retain: Whether the message is saved by the broker.
587- :param int qos: Quality of Service level for the message, defaults to
588- zero. Conventional options are ``0`` (send at most once), ``1``
589- (send at least once), or ``2`` (send exactly once).
587+ :param int qos: Quality of Service level for the message, defaults to zero.
588+
590589 """
591590 self .is_connected ()
592591 self ._valid_topic (topic )
@@ -665,14 +664,11 @@ def subscribe(self, topic, qos=0):
665664 This method can subscribe to one topics or multiple topics.
666665
667666 :param str,tuple,list topic: Unique MQTT topic identifier string. If
668- this is a `tuple`, then the tuple should contain topic identifier
667+ this is a `tuple`, then the tuple should contain topic identifier
669668 string and qos level integer. If this is a `list`, then each list
670669 element should be a tuple containing a topic identifier string and
671670 qos level integer.
672- :param int qos: Quality of Service level for the topic, defaults to
673- zero. Conventional options are ``0`` (send at most once), ``1``
674- (send at least once), or ``2`` (send exactly once).
675-
671+ :param int qos: Quality of Service level for the topic, defaults to zero.
676672 .. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
677673
678674 """
0 commit comments