diff --git a/IPython/core/display.py b/IPython/core/display.py index 8fe7fbc..0a8cf4a 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -280,7 +280,7 @@ def display(*objs, include=None, exclude=None, metadata=None, transient=None, di """ from IPython.core.interactiveshell import InteractiveShell - if not InteractiveShell.is_instantiated: + if not InteractiveShell.initialized(): # Directly print objects. print(*objs) return