diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-30 02:29:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-30 02:29:43 (GMT) |
commit | e8fcbf689b9d35d41486740c2a8b09f0f8544f1e (patch) | |
tree | 056d32c02085d89fd4d92b9f363c01bd886b9a5e | |
parent | e61426efbf3a41d2beb4e0f95f363aaaa7df0db6 (diff) | |
download | cpython-e8fcbf689b9d35d41486740c2a8b09f0f8544f1e.zip cpython-e8fcbf689b9d35d41486740c2a8b09f0f8544f1e.tar.gz cpython-e8fcbf689b9d35d41486740c2a8b09f0f8544f1e.tar.bz2 |
fix a case of set_daemon #5087
-rw-r--r-- | Doc/library/queue.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index e90f276..4ed3dcc 100644 --- a/Doc/library/queue.rst +++ b/Doc/library/queue.rst @@ -147,7 +147,7 @@ Example of how to wait for enqueued tasks to be completed:: q = Queue() for i in range(num_worker_threads): t = Thread(target=worker) - t.set_daemon(True) + t.daemon = True t.start() for item in source(): |