Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions can/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class Message(object):

:func:`~copy.copy`/:func:`~copy.deepcopy` is supported as well.

Messages do not support "dynamic" attributes, meaning any others that the
documented ones.
Messages do not support "dynamic" attributes, meaning any others than the
documented ones, since it uses :attr:`~object.__slots__`.
"""

__slots__ = (
Expand Down Expand Up @@ -303,7 +303,7 @@ def _check(self):
if self.bitrate_switch:
raise ValueError("bitrate switch is only allowed for CAN FD frames")
if self.error_state_indicator:
raise ValueError("error stat indicator is only allowed for CAN FD frames")
raise ValueError("error state indicator is only allowed for CAN FD frames")

def equals(self, other, timestamp_delta=1.0e-6):
"""
Expand Down