Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,13 @@ since it is impossible to detect the termination of alien threads.
base class constructor (``Thread.__init__()``) before doing anything else to
the thread.

.. note::

In Python, daemon threads do not prevent the program from exiting; they
are forcibly terminated when the main program terminates. A thread can be
designated as a daemon thread by setting *daemon* to ``True``, and daemon
threads do not require an explicit ``.join()`` call.

.. versionchanged:: 3.3
Added the *daemon* parameter.

Expand Down
Loading