From 2ee4989008982f86d58d33e214a4afe9423e32f3 2018-05-10 23:29:57 From: Matthias Bussonnier Date: 2018-05-10 23:29:57 Subject: [PATCH] Traceback printing change `in ()` to `in `. Modules are usually not callable --- 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