Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 committed Dec 8, 2023
1 parent 0212fe9 commit ae5d6dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions can/io/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ def LogReader(filename: StringPathLike, **kwargs: Any) -> MessageReader:
files suffix is one of the above (e.g. filename.asc.gz).
Exposes a simple iterator interface, to use simply:
Exposes a simple iterator interface, to use simply::
>>> for msg in LogReader("some/path/to/my_file.log"):
... print(msg)
for msg in can.LogReader("some/path/to/my_file.log"):
print(msg)
:param filename:
the filename/path of the file to read from
Expand Down

0 comments on commit ae5d6dd

Please sign in to comment.