Add StoppableThread to the root module (so from 'func_timeout import StoppableThread' now works, instead of needing to do 'from func_timeout.StoppableThread import StoppableThread')
This commit is contained in:
parent
0e43f0b161
commit
e99d1d8957
@ -9,7 +9,8 @@
|
||||
__version__ = '4.2.0'
|
||||
__version_tuple__ = (4, 2, 0)
|
||||
|
||||
__all__ = ('func_timeout', 'func_set_timeout', 'FunctionTimedOut')
|
||||
__all__ = ('func_timeout', 'func_set_timeout', 'FunctionTimedOut', 'StoppableThread')
|
||||
|
||||
from .exceptions import FunctionTimedOut
|
||||
from .dafunc import func_timeout, func_set_timeout
|
||||
from .StoppableThread import StoppableThread
|
||||
|
||||
Loading…
Reference in New Issue
Block a user