Return an item if one is immediately available, else raise
:exc:`QueueEmpty`.
+ Raises :exc:`QueueShutDown` if the queue has been shut down and is empty.
+
.. method:: join()
:async:
If no free slot is immediately available, raise :exc:`QueueFull`.
+ Raises :exc:`QueueShutDown` if the queue has been shut down.
+
.. method:: qsize()
Return the number of items in the queue.
.. exception:: QueueShutDown
- Exception raised when :meth:`~Queue.put` or :meth:`~Queue.get` is
- called on a queue which has been shut down.
+ Exception raised when :meth:`~Queue.put`, :meth:`~Queue.put_nowait`,
+ :meth:`~Queue.get` or :meth:`~Queue.get_nowait` is called
+ on a queue which has been shut down.
.. versionadded:: 3.13