Lines Matching refs:self
6 "insert($self, index, object, /)\n"
15 list_insert_impl(PyListObject *self, Py_ssize_t index, PyObject *object);
18 list_insert(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
40 return_value = list_insert_impl(self, index, object);
47 "clear($self, /)\n"
56 list_clear_impl(PyListObject *self);
59 list_clear(PyListObject *self, PyObject *Py_UNUSED(ignored))
61 return list_clear_impl(self);
65 "copy($self, /)\n"
74 list_copy_impl(PyListObject *self);
77 list_copy(PyListObject *self, PyObject *Py_UNUSED(ignored))
79 return list_copy_impl(self);
83 "append($self, object, /)\n"
92 "extend($self, iterable, /)\n"
101 "pop($self, index=-1, /)\n"
112 list_pop_impl(PyListObject *self, Py_ssize_t index);
115 list_pop(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
139 return_value = list_pop_impl(self, index);
146 "sort($self, /, *, key=None, reverse=False)\n"
163 list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse);
166 list_sort(PyListObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
194 return_value = list_sort_impl(self, keyfunc, reverse);
201 "reverse($self, /)\n"
210 list_reverse_impl(PyListObject *self);
213 list_reverse(PyListObject *self, PyObject *Py_UNUSED(ignored))
215 return list_reverse_impl(self);
219 "index($self, value, start=0, stop=sys.maxsize, /)\n"
230 list_index_impl(PyListObject *self, PyObject *value, Py_ssize_t start,
234 list_index(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
258 return_value = list_index_impl(self, value, start, stop);
265 "count($self, value, /)\n"
274 "remove($self, value, /)\n"
294 list___init___impl(PyListObject *self, PyObject *iterable);
297 list___init__(PyObject *self, PyObject *args, PyObject *kwargs)
302 if ((Py_IS_TYPE(self, &PyList_Type) ||
303 Py_TYPE(self)->tp_new == PyList_Type.tp_new) &&
315 return_value = list___init___impl((PyListObject *)self, iterable);
322 "__sizeof__($self, /)\n"
331 list___sizeof___impl(PyListObject *self);
334 list___sizeof__(PyListObject *self, PyObject *Py_UNUSED(ignored))
336 return list___sizeof___impl(self);
340 "__reversed__($self, /)\n"
349 list___reversed___impl(PyListObject *self);
352 list___reversed__(PyListObject *self, PyObject *Py_UNUSED(ignored))
354 return list___reversed___impl(self);