pep8: Add compliance with rule E261 to timeout.py.

This commit is contained in:
Aditya Bansal
2017-05-07 20:42:41 +05:30
committed by Tim Abbott
parent 6ad22f4092
commit 76d28a7cc7

View File

@@ -41,8 +41,8 @@ def timeout(timeout, func, *args, **kwargs):
def __init__(self):
# type: () -> None
threading.Thread.__init__(self)
self.result = None # type: Optional[ResultT]
self.exc_info = None # type: Optional[Tuple[Type[BaseException], BaseException, TracebackType]]
self.result = None # type: Optional[ResultT]
self.exc_info = None # type: Optional[Tuple[Type[BaseException], BaseException, TracebackType]]
# Don't block the whole program from exiting
# if this is the only thread left.