Skip to content

Commit bc1404e

Browse files
authored
Remove unused const. (#2676)
1 parent 59fc0e2 commit bc1404e

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

pymodbus/constants.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,6 @@ class ModbusStatus(int, enum.Enum):
3737
OFF = 0x0000
3838

3939

40-
class Endian(str, enum.Enum):
41-
"""An enumeration representing the various byte endianness.
42-
43-
.. attribute:: AUTO
44-
45-
This indicates that the byte order is chosen by the
46-
current native environment.
47-
48-
.. attribute:: BIG
49-
50-
This indicates that the bytes are in big endian format
51-
52-
.. attribute:: LITTLE
53-
54-
This indicates that the bytes are in little endian format
55-
56-
.. note:: I am simply borrowing the format strings from the
57-
python struct module for my convenience.
58-
"""
59-
60-
AUTO = "@"
61-
BIG = ">"
62-
LITTLE = "<"
63-
64-
6540
class ModbusPlusOperation(int, enum.Enum):
6641
"""Represents the type of modbus plus request.
6742
@@ -127,4 +102,3 @@ class MoreData(int, enum.Enum):
127102

128103
NOTHING = 0x00
129104
KEEP_READING = 0xFF
130-

0 commit comments

Comments
 (0)