def delete_object(self, object_stored):
        """Delete an object from a container.

        :param object_stored: the object to delete
        """
        try:
            object_name = object_stored.name
        except __HOLE__:
            object_name = object_stored
        self._manager._swift_call(self.region,
                                  'delete_object',
                                  self.name,
                                  object_name)
dataset/ETHPy150Open runabove/python-runabove/runabove/storage.py/Container.delete_object