Home
last modified time | relevance | path

Searched refs:subparams (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dgenericaliasobject.c221 PyObject *subparams; in make_parameters() local
222 if (_PyObject_LookupAttrId(t, &PyId___parameters__, &subparams) < 0) { in make_parameters()
226 if (subparams && PyTuple_Check(subparams)) { in make_parameters()
227 Py_ssize_t len2 = PyTuple_GET_SIZE(subparams); in make_parameters()
232 Py_DECREF(subparams); in make_parameters()
238 PyObject *t2 = PyTuple_GET_ITEM(subparams, j); in make_parameters()
242 Py_XDECREF(subparams); in make_parameters()
263 PyObject *subparams; in subs_tvars() local
264 if (_PyObject_LookupAttrId(obj, &PyId___parameters__, &subparams) < 0) { in subs_tvars()
267 if (subparams && PyTuple_Check(subparams) && PyTuple_GET_SIZE(subparams)) { in subs_tvars()
[all …]
/external/python/cpython3/Lib/
Dtyping.py753 subparams = arg.__parameters__
754 if subparams:
755 subargs = tuple(subst[x] for x in subparams)