File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,13 +428,11 @@ Exceptions
428428
429429.. exception :: QueueEmpty
430430
431- Exception raised when non-blocking :meth: `~Queue.get ` (or
432- :meth: `~Queue.get_nowait `) is called
433- on a :class: `Queue ` object which is empty.
431+ Exception raised when the :meth: `~Queue.get_nowait ` method is called on a
432+ :class: `Queue ` object which is empty.
434433
435434
436435.. exception :: QueueFull
437436
438- Exception raised when non-blocking :meth: `~Queue.put ` (or
439- :meth: `~Queue.put_nowait `) is called
440- on a :class: `Queue ` object which is full.
437+ Exception raised when the :meth: `~Queue.put_nowait ` method is called on a
438+ :class: `Queue ` object which is full.
Original file line number Diff line number Diff line change 1313
1414
1515class QueueEmpty (Exception ):
16- 'Exception raised by Queue.get(block=0)/get_nowait().'
16+ """Exception raised when Queue.get_nowait() is called on a Queue object
17+ which is empty.
18+ """
1719 pass
1820
1921
2022class QueueFull (Exception ):
21- 'Exception raised by Queue.put(block=0)/put_nowait().'
23+ """Exception raised when the Queue.put_nowait() method is called on a Queue
24+ object which is full.
25+ """
2226 pass
2327
2428
You can’t perform that action at this time.
0 commit comments