diff --git a/README.md b/README.md index d286a6a..9e0d6ce 100644 --- a/README.md +++ b/README.md @@ -2004,9 +2004,9 @@ from queue import Queue ``` ```python -.put() # Blocks until queue has a free spot. +.put() # Blocks until queue stops being full. .put_nowait() # Raises queue.Full exception if full. - = .get() # Blocks until queue contains an item. + = .get() # Blocks until queue stops being empty. = .get_nowait() # Raises _queue.Empty exception if empty. ``` diff --git a/index.html b/index.html index 6bf148d..e16df5e 100644 --- a/index.html +++ b/index.html @@ -1763,9 +1763,9 @@ lock.release() -
<Queue>.put(<el>)            # Blocks until queue has a free spot.
+
<Queue>.put(<el>)            # Blocks until queue stops being full.
 <Queue>.put_nowait(<el>)     # Raises queue.Full exception if full.
-<el> = <Queue>.get()         # Blocks until queue contains an item.
+<el> = <Queue>.get()         # Blocks until queue stops being empty.
 <el> = <Queue>.get_nowait()  # Raises _queue.Empty exception if empty.
 

#Operator

from operator import add, sub, mul, truediv, floordiv, mod, pow, neg, abs