summaryrefslogtreecommitdiffstats
path: root/Doc/library/queue.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-14 21:39:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-14 21:39:24 (GMT)
commitda3caedc559d6314502ddc4b10cad8534fb9d8d1 (patch)
treee57f7ae511ed0ff3a1539a5583799058dfa33450 /Doc/library/queue.rst
parentd32ed6f5117a68037e9cb7bcfd8d0f8d1611f442 (diff)
downloadcpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.zip
cpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.tar.gz
cpython-da3caedc559d6314502ddc4b10cad8534fb9d8d1.tar.bz2
Remove Queue.empty() and Queue.full() in favor of using qsize() or trapping the Empty and Full exceptions.
Diffstat (limited to 'Doc/library/queue.rst')
-rw-r--r--Doc/library/queue.rst12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index e9da905..c5dbc20 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -53,18 +53,6 @@ See the source code for details. The public methods are:
this number is not reliable.
-.. method:: Queue.empty()
-
- Return ``True`` if the queue is empty, ``False`` otherwise. Because of
- multithreading semantics, this is not reliable.
-
-
-.. method:: Queue.full()
-
- Return ``True`` if the queue is full, ``False`` otherwise. Because of
- multithreading semantics, this is not reliable.
-
-
.. method:: Queue.put(item[, block[, timeout]])
Put *item* into the queue. If optional args *block* is true and *timeout* is