code: def delete(self):
          
          try:
              self.revert()
          except errors.ChangelistError:
              pass
  
          self._connection.run(['change', '-d', str(self._change)])
docs: Reverts all files in this changelist then deletes the changelist from perforce