Skip to content

Commit 82364c2

Browse files
committed
Add ShutDown exception to threading queues module
1 parent 7a85695 commit 82364c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/queue.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ class Full(Exception):
2525
pass
2626

2727

28+
class ShutDown(Exception):
29+
'''Raised when put/get with shut-down queue.'''
30+
31+
2832
class Queue:
2933
'''Create a queue object with a given maximum size.
3034

0 commit comments

Comments
 (0)