Put an item into the queue without blocking. This is exactly equivalent to `put(item, block=False)` and is only provided for compatibility with the Queue class.
(self, item)
| 353 | return self._queue.popleft() |
| 354 | |
| 355 | def put_nowait(self, item): |
| 356 | '''Put an item into the queue without blocking. |
| 357 | |
| 358 | This is exactly equivalent to `put(item, block=False)` and is only provided |
| 359 | for compatibility with the Queue class. |
| 360 | ''' |
| 361 | return self.put(item, block=False) |
| 362 | |
| 363 | def get_nowait(self): |
| 364 | '''Remove and return an item from the queue without blocking. |