diff options
author | Georg Brandl <georg@python.org> | 2008-06-13 06:32:25 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-13 06:32:25 (GMT) |
commit | f992640ed39d2865920237a3454bdffb117fe6bc (patch) | |
tree | 2687db169d72a803ee9ef2411ee085532dcbe02a /Doc/library/queue.rst | |
parent | 7634ff5ad6d141cab8d33fcff788b65e064a8104 (diff) | |
download | cpython-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.rst | 2 |
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(): |