code: def delete(self, key):
      '''Removes the object named by `key`.
  
      Removes the object from the collection corresponding to ``key.path``.
  
      Args:
        key: Key naming the object to remove.
      '''
      try:
        del self._collection(key)[key]
  
        if len(self._collection(key)) == 0:
          del self._items[str(key.path)]
      except KeyError, e:
        pasf delete(self, key):
      '''Removes the object named by `key`.
  
      Removes the object from the collection corresponding to ``key.path``.
  
      Args:
        key: Key naming the object to remove.
      '''
      try:
        del self._collection(key)[key]
  
        if len(self._collection(key)) == 0:
          del self._items[str(key.path)]
      except KeyError, e:
        pass
docs: Removes the object named by `key`.
  
      Removes the object from the collection corresponding to ``key.path``.
  
      Args:
        key: Key naming the object to remove.