Skip to content

Commit db9998f

Browse files
committed
adjust docs
1 parent 687c1e5 commit db9998f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def disconnect(self) -> None:
666666
def ping(self) -> list[int]:
667667
"""Pings the MQTT Broker to confirm if the broker is alive or if
668668
there is an active network connection.
669-
Returns response codes of any messages received while waiting for PINGRESP.
669+
Returns packet types of any messages received while waiting for PINGRESP.
670670
"""
671671
self._connected()
672672
self.logger.debug("Sending PINGREQ")
@@ -981,7 +981,7 @@ def reconnect(self, resub_topics: bool = True) -> int:
981981
def loop(self, timeout: float = 0) -> Optional[list[int]]:
982982
# pylint: disable = too-many-return-statements
983983
"""Non-blocking message loop. Use this method to check for incoming messages.
984-
Returns list of response codes of any messages received or None.
984+
Returns list of packet types of any messages received or None.
985985
986986
:param float timeout: return after this timeout, in seconds.
987987

0 commit comments

Comments
 (0)