<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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