def remove(self, item):

        with self.lock:
            for index, _item in enumerate(self.items):
                if _item[0] == item:
                    self.items.pop(index)
                    heapq.heapify(self.items)
                    return True

        return False
Create a directory if it does not already exist.
dataset/ETHPy150Open ReactiveX/RxPY/rx/internal/priorityqueue.py/PriorityQueue.remove--crossover with--dataset/ETHPy150Open jmathai/elodie/elodie/filesystem.py/FileSystem.create_directory