Skip to content

Commit 7f9e3c9

Browse files
committed
Fixed docstring in synchronous serial client connect() method
I think there was a copy/paste error in the docstring. It said tcp but I think it is supposed to be serial.
1 parent 3e0e5e5 commit 7f9e3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/client/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def __implementation(method):
310310
raise ParameterException("Invalid framer method requested")
311311

312312
def connect(self):
313-
''' Connect to the modbus tcp server
313+
''' Connect to the modbus serial server
314314
315315
:returns: True if connection succeeded, False otherwise
316316
'''

0 commit comments

Comments
 (0)