parameters: (self, *args)
docstring: This method allows to delete a value at a given path in the storage.
          :param: ('path', 'to', 'the', 'value')
          deletes self.values['path']['to']['the']['value']
docstring_summary: This method allows to delete a value at a given path in the storage.
          :param: ('path', 'to', 'the', 'value')
          deletes self.values['path']['to']['the']['value']
docstring_tokens: This method allows to delete a value at a given path in the storage . : param : ( path to the value ) deletes self . values [ path ] [ to ] [ the ] [ value ]
function: def delete(self, *args):
          """
          This method allows to delete a value at a given path in the storage.
          :param: ('path', 'to', 'the', 'value')
          deletes self.values['path']['to']['the']['value']
          """
          value = self.values
          # Loop over elements of path.
          for arg in args[:-1]:
              # Check element in path exists.
              try:
                  value = value[arg]
              except KeyError:
                  # If not, end the process.
                  return
          # Finally, delete element at the right path.
          value.pop(args[-1], None)
function_tokens: def delete ( self , * args ) : value = self . values # Loop over elements of path. for arg in args [ : - 1 ] : # Check element in path exists. try : value = value [ arg ] except KeyError : # If not, end the process. return # Finally, delete element at the right path. value . pop ( args [ - 1 ] , None )