Skip to content

Commit a9288ab

Browse files
alexrudd2janiversen
authored andcommitted
docstring
1 parent 8c88d62 commit a9288ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymodbus/transport/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def write(self, data: bytes) -> None:
612612
# Dummy methods #
613613
# ------------- #
614614
def abort(self) -> None:
615-
"""Old alias for closing the connection."""
615+
"""Alias for closing the connection."""
616616
self.close()
617617

618618
def can_write_eof(self) -> bool:

pymodbus/transport/transport_serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def is_closing(self):
117117
return False
118118

119119
def abort(self) -> None:
120-
"""Old alias for closing the connection."""
120+
"""Alias for closing the connection."""
121121
self.close()
122122

123123
# ------------------------------------------------

0 commit comments

Comments
 (0)