code: def bspace(self):
          '''
          Remove the character before the cursor.
          '''
          try:
              self.text.pop(self.cursor_loc - 1)
              self.cursor_loc -= 1
          except IndexError:
              pasf bspace(self):
          '''
          Remove the character before the cursor.
          '''
          try:
              self.text.pop(self.cursor_loc - 1)
              self.cursor_loc -= 1
          except IndexError:
              pass
docs: Remove the character before the cursor.