Skip to content

Commit

Permalink
Remove nested quotes from fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards authored Mar 3, 2025
1 parent b830053 commit 8129010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsemigroups_pybind11/to.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def to(*args, Return):
valid_types = (_nice_name(x) for x in return_type_to_converter_function)
raise TypeError(
"expected the first keyword argument to be one of:"
f"\n * {"\n * ".join(valid_types)}\n"
f"\n * {'\n * '.join(valid_types)}\n"
f"but found: {_nice_name(Return)}"
)

Expand Down

0 comments on commit 8129010

Please sign in to comment.