Put an item into the queue without blocking. Only enqueue the item if a free slot is immediately available. Otherwise raise the Full exception.
(self, item)
| 215 | return item |
| 216 | |
| 217 | def put_nowait(self, item): |
| 218 | '''Put an item into the queue without blocking. |
| 219 | |
| 220 | Only enqueue the item if a free slot is immediately available. |
| 221 | Otherwise raise the Full exception. |
| 222 | ''' |
| 223 | return self.put(item, block=False) |
| 224 | |
| 225 | def get_nowait(self): |
| 226 | '''Remove and return an item from the queue without blocking. |