def runcode(self, *a, **kw): ManholeInterpreter.runcode(self, *a, **kw)
def displayhook(self, obj): ManholeInterpreter.displayhook(self, obj) if isinstance(obj, defer.Deferred): # If we need custom handling for displaying deferreds, add it here pass