Skip to content

Commit

Permalink
Update simulator.py method docstring (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyokusa authored Oct 6, 2023
1 parent dd2bfde commit ced082d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/datastore/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ def build_registers_from_value(cls, value, is_int):

@classmethod
def build_value_from_registers(cls, registers, is_int):
"""Build registers from int32 or float32"""
"""Build int32 or float32 value from registers"""
value_bytes = int.to_bytes(registers[0], 2, "big") + int.to_bytes(
registers[1], 2, "big"
)
Expand Down

0 comments on commit ced082d

Please sign in to comment.