def take(self, key, path=None):
        """Remove a value from the shared stash and return it.

        :param key: A UUID to use as the data's key.
        :param path: The path that has access to read the data (by default
                     the current request path)"""
        internal_key = self._wrap_key(key, path)
        value = self.data.get(internal_key, None)
        if not value is None:
            try:
                self.data.pop(internal_key)
            except __HOLE__:
                # Silently continue when pop error occurs.
                pass

        return value
dataset/ETHPy150Open w3c/wptserve/wptserve/stash.py/Stash.take