Lines Matching defs:list
42 /* not a list or tuple */
44 PyErr_SetString(PyExc_TypeError, "Expected list or tuple.");
306 "attach_run_command must be a list.");
370 PyObject *list = NULL;
410 PyErr_SetString(PyExc_ValueError, "failure to list containers");
415 list = PyTuple_New(list_count);
421 PyTuple_SET_ITEM(list, i, PyUnicode_FromString(names[i]));
426 return list;
1065 /* Free the list of IPs */
1125 /* Free the list of IPs */
1400 PyObject *list = NULL;
1406 PyErr_SetString(PyExc_KeyError, "Unable to list snapshots");
1410 list = PyTuple_New(snap_count);
1426 PyTuple_SET_ITEM(list, i, list_entry);
1429 return list;
1552 /* Function/Properties list */
1689 "Get a list of valid sub-keys for a key."
1882 "Returns a list of container names or objects"},