code: def delete_view(self, view_name):
          
          view = self.get_view(view_name)
          if view is None:
              return
          if isinstance(view, QueryIndexView):
              raise CloudantDesignDocumentException(103)
  
          self.views.__delitem__(view_name)
docs: Removes an existing MapReduce view definition from the locally cached
          DesignDocument View dictionary.  To delete a JSON query index
          use :func:`~cloudant.database.CloudantDatabase.delete_query_index`
          instead.  A CloudantException is raised if an attempt to delete a
          QueryIndexView (JSON query index) using this method is made.
  
          :param str view_name: Name used to identify the View.