Add __all__ .

This commit is contained in:
Brett Cannon 2003-07-01 05:34:27 +00:00
parent 20def8bb19
commit b42bb5a88a
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
from time import time as _time, sleep as _sleep from time import time as _time, sleep as _sleep
__all__ = ['Empty', 'Full', 'Queue']
class Empty(Exception): class Empty(Exception):
"Exception raised by Queue.get(block=0)/get_nowait()." "Exception raised by Queue.get(block=0)/get_nowait()."
pass pass