Skip to content

Commit

Permalink
edit message
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jan 26, 2021
1 parent e603f87 commit 617f02e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magicgui/widgets/_bases/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def __init__(
label = label or extra.pop("description", None)
if extra:
raise TypeError(
f"{type(self).__name__} got an unexpected keyword argument: {extra}"
f"{type(self).__name__} got an unexpected "
f"keyword argument: {', '.join(extra)}"
)

_prot = self.__class__.__annotations__["_widget"]
Expand Down

0 comments on commit 617f02e

Please sign in to comment.