Skip to content

Commit

Permalink
Merge pull request #838 from REX2626/master
Browse files Browse the repository at this point in the history
Fixed on_connect and on_disconnect docstrings
  • Loading branch information
PierreF authored Apr 29, 2024
2 parents 27bbdc3 + 85da8c8 commit 29c1d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/paho/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ def on_connect(self) -> CallbackOnConnect | None:
connect_callback(client, userdata, flags, rc)
* For MQTT it's v5.0::
* For MQTT v5.0 it's::
connect_callback(client, userdata, flags, reason_code, properties)
Expand Down Expand Up @@ -2737,7 +2737,7 @@ def on_disconnect(self) -> CallbackOnDisconnect | None:
disconnect_callback(client, userdata, rc)
* For MQTT it's v5.0::
* For MQTT v5.0 it's::
disconnect_callback(client, userdata, reason_code, properties)
Expand Down

0 comments on commit 29c1d43

Please sign in to comment.