diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index cb82fea377697b..c23042dc523b6a 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -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.