q = Queue.Queue()
q.queue.clear()
EDIT
I omitted the issue of thread safety for clarity and brevity, but @Dan D is quite correct, the following is better.
q = Queue.Queue()
with q.mutex:
q.queue.clear()
q = Queue.Queue()
q.queue.clear()
EDIT
I omitted the issue of thread safety for clarity and brevity, but @Dan D is quite correct, the following is better.
q = Queue.Queue()
with q.mutex:
q.queue.clear()