Lines Matching refs:item
36 "put($self, /, item, block=True, timeout=None)\n"
39 "Put the item on the queue.\n"
48 _queue_SimpleQueue_put_impl(simplequeueobject *self, PyObject *item,
55 static const char * const _keywords[] = {"item", "block", "timeout", NULL};
59 PyObject *item;
67 item = args[0];
82 return_value = _queue_SimpleQueue_put_impl(self, item, block, timeout);
89 "put_nowait($self, /, item)\n"
92 "Put an item into the queue without blocking.\n"
94 "This is exactly equivalent to `put(item)` and is only provided\n"
101 _queue_SimpleQueue_put_nowait_impl(simplequeueobject *self, PyObject *item);
107 static const char * const _keywords[] = {"item", NULL};
110 PyObject *item;
116 item = args[0];
117 return_value = _queue_SimpleQueue_put_nowait_impl(self, item);
127 "Remove and return an item from the queue.\n"
130 "block if necessary until an item is available. If \'timeout\' is\n"
132 "the Empty exception if no item was available within that time.\n"
133 "Otherwise (\'block\' is false), return an item if one is immediately\n"
183 "Remove and return an item from the queue without blocking.\n"
185 "Only get an item if one is immediately available. Otherwise\n"