##// END OF EJS Templates
Fix pretty print of types when `__module__` is not available....
Fix pretty print of types when `__module__` is not available. In Python 3, heap allocated types -- for example those created using PyType_FromSpec -- lack the `__module__` attribute. Closes #2684

File last commit:

r7721:5462c7ef
r8872:9b115234
Show More
display.py
17 lines | 676 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.core.displaypub import *
from IPython.lib.display import *