Lines Matching refs:args
18 list_insert(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
29 PyObject *iobj = _PyNumber_Index(args[0]);
39 object = args[1];
115 list_pop(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
128 PyObject *iobj = _PyNumber_Index(args[0]);
166 list_sort(PyListObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
176 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 0, 0, argsbuf);
177 if (!args) {
183 if (args[0]) {
184 keyfunc = args[0];
189 reverse = _PyLong_AsInt(args[1]);
234 list_index(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
244 value = args[0];
248 if (!_PyEval_SliceIndexNotNone(args[1], &start)) {
254 if (!_PyEval_SliceIndexNotNone(args[2], &stop)) {
297 list___init__(PyObject *self, PyObject *args, PyObject *kwargs)
307 if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) {
310 if (PyTuple_GET_SIZE(args) < 1) {
313 iterable = PyTuple_GET_ITEM(args, 0);