Skip to content

Commit ca10c1e

Browse files
yegorichdhoomakethu
authored andcommitted
Make example compatible with both Python 2 and 3 syntax (#275)
1 parent d3926fa commit ca10c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For those of you that just want to get started fast, here you go::
7575
client = ModbusTcpClient('127.0.0.1')
7676
client.write_coil(1, True)
7777
result = client.read_coils(1,1)
78-
print result.bits[0]
78+
print(result.bits[0])
7979
client.close()
8080

8181
For more advanced examples, check out the examples included in the

0 commit comments

Comments
 (0)