summaryrefslogtreecommitdiffstats
path: root/Doc/library/queue.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-13 06:32:25 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-13 06:32:25 (GMT)
commitf992640ed39d2865920237a3454bdffb117fe6bc (patch)
tree2687db169d72a803ee9ef2411ee085532dcbe02a /Doc/library/queue.rst
parent7634ff5ad6d141cab8d33fcff788b65e064a8104 (diff)
downloadcpython-f992640ed39d2865920237a3454bdffb117fe6bc.zip
cpython-f992640ed39d2865920237a3454bdffb117fe6bc.tar.gz
cpython-f992640ed39d2865920237a3454bdffb117fe6bc.tar.bz2
Fix last traces of old threading API.
Diffstat (limited to 'Doc/library/queue.rst')
-rw-r--r--Doc/library/queue.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index 4b9a1eb..fa09fc5 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.setDaemon(True)
+ t.set_daemon(True)
t.start()
for item in source():