Remove and return an item from the queue without blocking. Only get an item if one is immediately available. Otherwise raise the Empty exception.
(self)
| 223 | return self.put(item, block=False) |
| 224 | |
| 225 | def get_nowait(self): |
| 226 | '''Remove and return an item from the queue without blocking. |
| 227 | |
| 228 | Only get an item if one is immediately available. Otherwise |
| 229 | raise the Empty exception. |
| 230 | ''' |
| 231 | return self.get(block=False) |
| 232 | |
| 233 | def shutdown(self, immediate=False): |
| 234 | '''Shut-down the queue, making queue gets and puts raise ShutDown. |