From 4cf10e8742b2a1b3fe0aa3a41075fa8674bc0de2 2016-04-19 12:04:27 From: Min RK Date: 2016-04-19 12:04:27 Subject: [PATCH] Merge pull request #9409 from takluyver/format-display-data-return Return value from format_display_data --- diff --git a/IPython/core/formatters.py b/IPython/core/formatters.py index 700a903..62d296f 100644 --- a/IPython/core/formatters.py +++ b/IPython/core/formatters.py @@ -944,7 +944,7 @@ def format_display_data(obj, include=None, exclude=None): """ from IPython.core.interactiveshell import InteractiveShell - InteractiveShell.instance().display_formatter.format( + return InteractiveShell.instance().display_formatter.format( obj, include, exclude