summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-14 21:39:24 +0000
committerRaymond Hettinger <python@rcn.com>2008-01-14 21:39:24 +0000
commitda3caedc559d6314502ddc4b10cad8534fb9d8d1 (patch)
treee57f7ae511ed0ff3a1539a5583799058dfa33450 /Doc
parentd32ed6f5117a68037e9cb7bcfd8d0f8d1611f442 (diff)
downloadcpython-git-da3caedc559d6314502ddc4b10cad8534fb9d8d1.tar.gz
Remove Queue.empty() and Queue.full() in favor of using qsize() or trapping the Empty and Full exceptions.
Diffstat (limited to 'Doc')
-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 e9da905ef6..c5dbc2095c 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