diff --git a/IPython/lib/pretty.py b/IPython/lib/pretty.py index 4361f21..f6f109c 100644 --- a/IPython/lib/pretty.py +++ b/IPython/lib/pretty.py @@ -668,7 +668,7 @@ _type_pprinters = { try: _type_pprinters[types.DictProxyType] = _dict_pprinter_factory('') - _type_pprinters[types.ClassType] = _type_pprint, + _type_pprinters[types.ClassType] = _type_pprint except AttributeError: # Python 3 pass