diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-10-20 03:14:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-10-20 03:14:10 (GMT) |
commit | e047d7953f0ff940bcd10737204a44f42929dc82 (patch) | |
tree | f086de9a0d399331b7759fb444c2f4b410928c8b /Doc | |
parent | e089980cf3215cc96ca7af058d7d6744d77cde28 (diff) | |
download | cpython-e047d7953f0ff940bcd10737204a44f42929dc82.zip cpython-e047d7953f0ff940bcd10737204a44f42929dc82.tar.gz cpython-e047d7953f0ff940bcd10737204a44f42929dc82.tar.bz2 |
use property api
Diffstat (limited to 'Doc')
-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 ea579f9..65b16a3 100644 --- a/Doc/library/queue.rst +++ b/Doc/library/queue.rst @@ -183,7 +183,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.setDaemon(True) + t.daemon = True t.start() for item in source(): |