From 6655d2e369458ec668df2713441315cf5a9cede3 2017-12-01 18:10:29 From: Thomas Kluyver Date: 2017-12-01 18:10:29 Subject: [PATCH] Merge pull request #10931 from iglpdc/fix-10924 Add missing selfs to ExecutionInfo __repr__ --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 8b5e0ca..333d1c0 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -193,8 +193,8 @@ class ExecutionInfo(object): name = self.__class__.__qualname__ raw_cell = ((self.raw_cell[:50] + '..') if len(self.raw_cell) > 50 else self.raw_cell) - return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s result=%s>' %\ - (name, id(self), raw_cell, store_history, silent, shell_futures, repr(self.result)) + return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s>' %\ + (name, id(self), raw_cell, self.store_history, self.silent, self.shell_futures) class ExecutionResult(object):