(self, obj)
Custom displayhook for the exec in default(), which prevents
        assignment of the _ variable in the builtins.
Custom displayhook for the exec in default(), which prevents
        assignment of the _ variable in the builtins.
Custom displayhook for the exec in default () which prevents assignment of the _ variable in the builtins .
def displayhook(self, obj):
        """Custom displayhook for the exec in default(), which prevents
        assignment of the _ variable in the builtins.
        """
        # reproduce the behavior of the standard displayhook, not printing None
        if obj is not None:
            self.message(repr(obj))
def displayhook ( self , obj ) : # reproduce the behavior of the standard displayhook, not printing None if obj is not None : self . message ( repr ( obj ) )