code: def delete(self):
          
  
          if self.tobj:
              if not self._merged:
                  pycard.itot_del(self.tobj)
  
                  # otherwise, this totalizer object is merged into a larger one
                  # therefore, this memory should be freed in its destructor
  
              self.tobj = None
  
          self.lits = []
          self.ubound = 0
          self.top_id = 0
  
          self.cnf = CNF()
          self.rhs = []
  
          self.nof_new = 0
docs: Destroys a previously constructed :class:`ITotalizer` object.
              Internal variables ``self.cnf`` and ``self.rhs`` get cleaned.