Skip to content

Commit 34f68ea

Browse files
Update can/listener.py
Co-authored-by: zariiii9003 <52598363+zariiii9003@users.noreply.github.com>
1 parent fca97b0 commit 34f68ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can/listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_message(self, timeout: float = 0.5) -> Optional[Message]:
112112
:meth:`can.BufferedReader.stop` has been called.
113113
114114
:param timeout: The number of seconds to wait for a new message.
115-
:return: the Message if one exists, otherwise None.
115+
:return: the received :class:`can.Message` or `None`, if the queue is empty.
116116
"""
117117
try:
118118
if self.is_stopped:

0 commit comments

Comments
 (0)