diff --git a/IPython/core/ultratb.py b/IPython/core/ultratb.py index e1c1cae..52fd95a 100644 --- a/IPython/core/ultratb.py +++ b/IPython/core/ultratb.py @@ -873,6 +873,8 @@ class VerboseTB(TBTools): if func == '?': call = '' + elif func == '': + call = tpl_call % (func, '') else: # Decide whether to include variable details or not var_repr = self.include_vars and eqrepr or nullrepr