Skip to content

Commit 29c1d43

Browse files
authored
Merge pull request #838 from REX2626/master
Fixed on_connect and on_disconnect docstrings
2 parents 27bbdc3 + 85da8c8 commit 29c1d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/paho/mqtt/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ def on_connect(self) -> CallbackOnConnect | None:
24502450
24512451
connect_callback(client, userdata, flags, rc)
24522452
2453-
* For MQTT it's v5.0::
2453+
* For MQTT v5.0 it's::
24542454
24552455
connect_callback(client, userdata, flags, reason_code, properties)
24562456
@@ -2737,7 +2737,7 @@ def on_disconnect(self) -> CallbackOnDisconnect | None:
27372737
27382738
disconnect_callback(client, userdata, rc)
27392739
2740-
* For MQTT it's v5.0::
2740+
* For MQTT v5.0 it's::
27412741
27422742
disconnect_callback(client, userdata, reason_code, properties)
27432743

0 commit comments

Comments
 (0)