File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ Queue
105105 Put a :class: `Queue ` instance into a shutdown mode.
106106
107107 The queue can no longer grow.
108- Future calls to :meth: `~Queue.put ` raise :exc: `ShutDown `.
108+ Future calls to :meth: `~Queue.put ` raise :exc: `QueueShutDown `.
109109 Currently blocked callers of :meth: `~Queue.put ` will be unblocked
110- and will raise :exc: `ShutDown ` in the formerly blocked thread.
110+ and will raise :exc: `QueueShutDown ` in the formerly blocked thread.
111111
112112 If *immediate * is false (the default), the queue can be wound
113113 down normally with calls :meth: `~Queue.get ` to extract tasks
@@ -117,13 +117,13 @@ Queue
117117 pending :meth: `~Queue.join ` will be unblocked normally.
118118
119119 Once the queue is empty, future calls to :meth: `~Queue.get ` will
120- raise :exc: `ShutDown `.
120+ raise :exc: `QueueShutDown `.
121121
122122 If *immediate * is true, the queue is terminated immediately.
123123 The queue is drained to be completely empty. All callers of
124124 :meth: `~Queue.join ` are unblocked regardless of the number
125125 of unfinished tasks. Blocked callers of :meth: `~Queue.get `
126- are unblocked and will raise :exc: `ShutDown ` because the
126+ are unblocked and will raise :exc: `QueueShutDown ` because the
127127 queue is empty.
128128
129129 Use caution when using :meth: `~Queue.join ` with *immediate * set
You can’t perform that action at this time.
0 commit comments