Lines Matching refs:args
15 simplequeue_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
21 !_PyArg_NoPositional("SimpleQueue", args)) {
52 _queue_SimpleQueue_put(simplequeueobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
63 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf);
64 if (!args) {
67 item = args[0];
71 if (args[1]) {
72 block = PyObject_IsTrue(args[1]);
80 timeout = args[2];
104 _queue_SimpleQueue_put_nowait(simplequeueobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
112 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf);
113 if (!args) {
116 item = args[0];
129 "If optional args \'block\' is true and \'timeout\' is None (the default),\n"
145 _queue_SimpleQueue_get(simplequeueobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
155 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
156 if (!args) {
162 if (args[0]) {
163 block = PyObject_IsTrue(args[0]);
171 timeout_obj = args[1];
196 _queue_SimpleQueue_get_nowait(simplequeueobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)