aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/data_flow_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/data_flow_ops.py')
-rw-r--r--tensorflow/python/ops/data_flow_ops.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/python/ops/data_flow_ops.py b/tensorflow/python/ops/data_flow_ops.py
index 3ff93b61c5..e22cab86c8 100644
--- a/tensorflow/python/ops/data_flow_ops.py
+++ b/tensorflow/python/ops/data_flow_ops.py
@@ -512,8 +512,9 @@ class QueueBase(object):
the given queue. Subsequent `enqueue` and `enqueue_many`
operations will fail. Subsequent `dequeue` and `dequeue_many`
operations will continue to succeed if sufficient elements remain
- in the queue. Subsequent `dequeue` and `dequeue_many` operations
- that would block will fail immediately.
+ in the queue. Subsequently dequeue and dequeue_many operations
+ that would otherwise block waiting for more elements (if close
+ hadn't been called) will now fail immediately.
If `cancel_pending_enqueues` is `True`, all pending requests will also
be canceled.