mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +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)
|
widget = _widget_abbrev(abbrev)
|
||||||
if widget is None:
|
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
|
return widget
|
||||||
|
|
||||||
def _yield_abbreviations_for_parameter(param, kwargs):
|
def _yield_abbreviations_for_parameter(param, kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user