Lines Matching defs:list
12 - path: module search path (list of strings)
13 - argv: script arguments (list of strings)
443 /* Avoid having our list of hooks show up in the GC module */
2046 PyObject *list = PyList_New(0);
2047 if (list == NULL) {
2055 if (PyList_Append(list, name) < 0) {
2061 if (PyList_Sort(list) != 0) {
2064 PyObject *tuple = PyList_AsTuple(list);
2065 Py_DECREF(list);
2069 Py_DECREF(list);
2103 * regular CPython list, dict, and unicode APIs.
2131 * destroy the linked list in _clear_preinit_entries.
2156 /* We maintain the linked list in this order so it's easy to play back
3298 PyObject *list = PyList_New(argc);
3299 if (list == NULL) {
3306 Py_DECREF(list);
3309 PyList_SET_ITEM(list, i, v);
3311 return list;
3417 by a variable length argument list determined by the format string.