Skip to content

Commit

Permalink
Address review: don't mark up file extensions as string literals
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Jul 2, 2024
1 parent 25d6d79 commit 72a3998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canopen/objectdictionary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def export_od(
The type of document to export.
If *dest* is a file-like object or ``None``,
*doc_type* must be explicitly provided.
If *dest* is a filename and its extension is ``".eds"`` or ``".dcf"``,
If *dest* is a filename and its extension is ``.eds`` or ``.dcf``,
*doc_type* defaults to that extension (the preceeding dot excluded);
else, it defaults to ``"eds"``.
:raises ValueError:
Expand Down

0 comments on commit 72a3998

Please sign in to comment.