since it is impossible to detect the termination of alien threads.
- .. class:: Thread(group=None, target=None, name=None, args=(), kwargs={},
- verbose=None, *, daemon=None)
-.. class:: Thread(group=None, target=None, name=None, args=(), kwargs={})
++.. class:: Thread(group=None, target=None, name=None, args=(), kwargs={}, *, \
++ daemon=None)
This constructor should always be called with keyword arguments. Arguments
are:
*kwargs* is a dictionary of keyword arguments for the target invocation.
Defaults to ``{}``.
- *verbose* is a flag used for debugging messages.
-
+ If not ``None``, *daemon* explicitly sets whether the thread is daemonic.
+ If ``None`` (the default), the daemonic property is inherited from the
+ current thread.
+
If the subclass overrides the constructor, it must make sure to invoke the
base class constructor (``Thread.__init__()``) before doing anything else to
the thread.