mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
fix ValueError format message
This commit is contained in:
parent
48a56d3156
commit
031b69895c
@ -114,7 +114,7 @@ def _widget_from_abbrev(abbrev):
|
||||
|
||||
widget = _widget_abbrev(abbrev)
|
||||
if widget is None:
|
||||
raise ValueError("%r cannot be transformed to a Widget" % abbrev)
|
||||
raise ValueError("%r cannot be transformed to a Widget" % (abbrev,))
|
||||
return widget
|
||||
|
||||
def _yield_abbreviations_for_parameter(param, kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user