Searched refs:pto (Results 1 – 2 of 2) sorted by relevance
107 partialobject *pto; in partial_new() local123 pto = (partialobject *)type->tp_alloc(type, 0); in partial_new()124 if (pto == NULL) in partial_new()127 pto->fn = func; in partial_new()129 pto->args = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX); in partial_new()130 if (pto->args == NULL) { in partial_new()131 pto->kw = NULL; in partial_new()132 Py_DECREF(pto); in partial_new()136 pto->kw = PyDict_Copy(kw); in partial_new()137 if (pto->kw == NULL) { in partial_new()[all …]
107 partialobject *pto; in partial_new() local123 pto = (partialobject *)type->tp_alloc(type, 0); in partial_new()124 if (pto == NULL) in partial_new()127 pto->fn = func; in partial_new()129 pto->args = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX); in partial_new()130 if (pto->args == NULL) { in partial_new()131 pto->kw = NULL; in partial_new()132 Py_DECREF(pto); in partial_new()135 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); in partial_new()136 if (pto->kw == NULL) { in partial_new()[all …]