mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Add __all__ .
This commit is contained in:
parent
20def8bb19
commit
b42bb5a88a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue