parameters: (self, ws)
docstring: Delete the given workspace in ws if it is not protected, and
          deletion is actually turned on.
docstring_summary: Delete the given workspace in ws if it is not protected, and
          deletion is actually turned on.
docstring_tokens: Delete the given workspace in ws if it is not protected and deletion is actually turned on .
function: def _delete(self, ws):
          """Delete the given workspace in ws if it is not protected, and
          deletion is actually turned on.
          """
          if not self._doDelete:
              return
          try:
              ws = str(ws)
          except RuntimeError:
              return
          if ws not in self._protected and mtd.doesExist(ws):
              DeleteWorkspace(Workspace=ws, EnableLogging=self._deleteAlgorithmLogging)
function_tokens: def _delete ( self , ws ) : if not self . _doDelete : return try : ws = str ( ws ) except RuntimeError : return if ws not in self . _protected and mtd . doesExist ( ws ) : DeleteWorkspace ( Workspace = ws , EnableLogging = self . _deleteAlgorithmLogging )