code: def pick_and_display_buffer(self, i):
          
          if len(self.buffers) == 1:
              # we don't need to display anything
              # listing is already displayed
              return
          else:
              try:
                  self.display_buffer(self.buffers[i])
              except IndexError:
                  # i > len
                  self.display_buffer(self.buffers[0])
docs: pick i-th buffer from list and display it
  
          :param i: int
          :return: None