Skip to content

Commit 6535a07

Browse files
committed
Fix typos & add docs
Tiny change.
1 parent c17ff89 commit 6535a07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

can/message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class Message(object):
2929
3030
:func:`~copy.copy`/:func:`~copy.deepcopy` is supported as well.
3131
32-
Messages do not support "dynamic" attributes, meaning any others that the
33-
documented ones.
32+
Messages do not support "dynamic" attributes, meaning any others than the
33+
documented ones, since it uses :attr:`~object.__slots__`.
3434
"""
3535

3636
__slots__ = (
@@ -303,7 +303,7 @@ def _check(self):
303303
if self.bitrate_switch:
304304
raise ValueError("bitrate switch is only allowed for CAN FD frames")
305305
if self.error_state_indicator:
306-
raise ValueError("error stat indicator is only allowed for CAN FD frames")
306+
raise ValueError("error state indicator is only allowed for CAN FD frames")
307307

308308
def equals(self, other, timestamp_delta=1.0e-6):
309309
"""

0 commit comments

Comments
 (0)