No starting docstrings with This
This commit is contained in:
parent
f51dae7b3a
commit
be6a6ca6fe
13 changed files with 46 additions and 68 deletions
|
|
@ -1,14 +1,12 @@
|
|||
"""
|
||||
This module contains some utility functions and classes
|
||||
"""
|
||||
"""Utility functions and classes."""
|
||||
|
||||
from threading import Thread
|
||||
|
||||
|
||||
class ErrorCapturingThread(Thread):
|
||||
"""
|
||||
This is a a subclass or Thread. It wraps the target function in a
|
||||
try-except block.
|
||||
"""Subclass of Thread that captures exceptions from the target function.
|
||||
|
||||
It wraps the target function in a try-except block.
|
||||
|
||||
Execution will stop with an unhandled exception, but the exception will not be raised
|
||||
until the join method is called. When the join method is called, the exception is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue