Starting docstring on the same lines as the quotations

This commit is contained in:
Julian Stirling 2025-07-10 01:04:26 +01:00
parent be6a6ca6fe
commit 35d47fe3ed
28 changed files with 92 additions and 214 deletions

View file

@ -17,9 +17,7 @@ class ErrorCapturingThread(Thread):
"""
def __init__(self, group=None, target=None, args=None, kwargs=None, daemon=None):
"""
Initialise with the same arguments as Thread
"""
"""Initialise with the same arguments as Thread"""
# As all inputs are keywords we need to set the default values for args and kwargs:
if args is None:
args = ()
@ -45,8 +43,7 @@ class ErrorCapturingThread(Thread):
)
def join(self, timeout=None):
"""
Join when the thread is complete. If the thread ended due to an unhandled exception,
"""Join when the thread is complete. If the thread ended due to an unhandled exception,
the exception will be raised when this method is called.
"""
super().join(timeout)