Lines Matching defs:lst
546 run_at_forkers(PyObject *lst, int reverse)
551 if (lst != NULL) {
552 assert(PyList_CheckExact(lst));
557 cpy = PyList_GetSlice(lst, 0, PyList_GET_SIZE(lst));
559 PyErr_WriteUnraisable(lst);
643 register_at_forker(PyObject **lst, PyObject *func)
647 if (*lst == NULL) {
648 *lst = PyList_New(0);
649 if (*lst == NULL)
652 return PyList_Append(*lst, func);