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)
| 296 | return self._queue.popleft() |
| 297 | |
| 298 | def put_nowait(self, item): |
| 299 | '''Put an item into the queue without blocking. |
| 300 | |
| 301 | This is exactly equivalent to `put(item, block=False)` and is only provided |
| 302 | for compatibility with the Queue class. |
| 303 | ''' |
| 304 | return self.put(item, block=False) |
| 305 | |
| 306 | def get_nowait(self): |
| 307 | '''Remove and return an item from the queue without blocking. |