Skip to content

Commit a9c96f6

Browse files
committed
format docstring
1 parent 7802c5e commit a9c96f6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

can/io/logger.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,12 @@ def __new__( # type: ignore
8080
cls: Any, filename: Optional[StringPathLike], *args: Any, **kwargs: Any
8181
) -> MessageWriter:
8282
"""
83-
:param filename: the filename/path of the file to write to,
84-
may be a path-like object or None to
85-
instantiate a :class:`~can.Printer`
86-
:raises ValueError: if the filename's suffix is of an unknown file type
83+
:param filename:
84+
the filename/path of the file to write to,
85+
may be a path-like object or None to
86+
instantiate a :class:`~can.Printer`
87+
:raises ValueError:
88+
if the filename's suffix is of an unknown file type
8789
"""
8890
if filename is None:
8991
return Printer(*args, **kwargs)

0 commit comments

Comments
 (0)