Skip to content
Closed
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
3 changes: 1 addition & 2 deletions Lib/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,8 +1101,7 @@ def daemon(self):
main thread is not a daemon thread and therefore all threads created in
the main thread default to daemon = False.

The entire Python program exits when no alive non-daemon threads are
left.
The entire Python program exits when only daemon threads are left.

"""
assert self._initialized, "Thread.__init__() not called"
Expand Down