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)
| 183 | return item |
| 184 | |
| 185 | def put_nowait(self, item): |
| 186 | '''Put an item into the queue without blocking. |
| 187 | |
| 188 | Only enqueue the item if a free slot is immediately available. |
| 189 | Otherwise raise the Full exception. |
| 190 | ''' |
| 191 | return self.put(item, block=False) |
| 192 | |
| 193 | def get_nowait(self): |
| 194 | '''Remove and return an item from the queue without blocking. |