You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [1]: class A: pass
In [2]: A
...
/Users/kcarnold/.virtualenvs/py27/lib/python2.7/site-packages/IPython/lib/pretty.pyc in pretty(self, obj)
341 for cls in _get_mro(obj_class):
342 if cls in self.type_pprinters:
--> 343 return self.type_pprinters[cls](obj, self, cycle)
344 else:
345 printer = self._in_deferred_types(cls)
TypeError: 'tuple' object is not callable
Unfortunately some classes in the Python standard library are old-style, so I stumbled across this one.
The fix is trivial and hardly worth a pull request:
Unfortunately some classes in the Python standard library are old-style, so I stumbled across this one.
The fix is trivial and hardly worth a pull request:
The text was updated successfully, but these errors were encountered: