File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 Return an item if one is immediately available, else raise
7272 :exc: `QueueEmpty `.
7373
74+ Raises :exc: `QueueShutDown ` if the queue has been shut down and is empty.
75+
7476 .. method :: join()
7577 :async:
7678
9698
9799 If no free slot is immediately available, raise :exc: `QueueFull `.
98100
101+ Raises :exc: `QueueShutDown ` if the queue has been shut down.
102+
99103 .. method :: qsize()
100104
101105 Return the number of items in the queue.
@@ -188,8 +192,9 @@ Exceptions
188192
189193.. exception :: QueueShutDown
190194
191- Exception raised when :meth: `~Queue.put ` or :meth: `~Queue.get ` is
192- called on a queue which has been shut down.
195+ Exception raised when :meth: `~Queue.put `, :meth: `~Queue.put_nowait `,
196+ :meth: `~Queue.get ` or :meth: `~Queue.get_nowait ` is called
197+ on a queue which has been shut down.
193198
194199 .. versionadded :: 3.13
195200
You can’t perform that action at this time.
0 commit comments