code: def clear_symbols(self, index):
          
          try:
              del self.table[index:]
          except Exception:
              self.error()
          self.table_len = len(self.table)
docs: Clears all symbols begining with the index to the end of table