Skip to content

Commit

Permalink
Change docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rruuaanng authored Oct 26, 2024
1 parent c56b514 commit 0c2b795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@ since it is impossible to detect the termination of alien threads.
.. note::

Threads are non-daemon by default, meaning they block the program from
exiting until they complete. By setting *daemon* to ``True``, thread becomes
exiting until they complete. By setting *daemon* to ``True``, threads become
daemon and will be forcibly terminated when the main program exits. Use
an explicit call to ``.join()`` on the daemon thread, which will block
an explicit call to ``.join()`` on a daemon thread to block
the main program until the thread completes.

.. versionchanged:: 3.3
Expand Down

0 comments on commit 0c2b795

Please sign in to comment.