code: def do_undisplay(self, arg):
          
          try:
              del self._get_display_list()[arg]
          except KeyError:
              print('** %s not in the display list **' % arg, file=self.stdout)
docs: undisplay expression
  
          Remove expression from the display list.