Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dgenericaliasobject.c222 PyObject *subparams; in _Py_make_parameters() local
223 if (_PyObject_LookupAttrId(t, &PyId___parameters__, &subparams) < 0) { in _Py_make_parameters()
227 if (subparams && PyTuple_Check(subparams)) { in _Py_make_parameters()
228 Py_ssize_t len2 = PyTuple_GET_SIZE(subparams); in _Py_make_parameters()
233 Py_DECREF(subparams); in _Py_make_parameters()
239 PyObject *t2 = PyTuple_GET_ITEM(subparams, j); in _Py_make_parameters()
243 Py_XDECREF(subparams); in _Py_make_parameters()
264 PyObject *subparams; in subs_tvars() local
265 if (_PyObject_LookupAttrId(obj, &PyId___parameters__, &subparams) < 0) { in subs_tvars()
268 if (subparams && PyTuple_Check(subparams) && PyTuple_GET_SIZE(subparams)) { in subs_tvars()
[all …]
/third_party/python/Lib/
D_collections_abc.py499 subparams = arg.__parameters__
500 if subparams:
501 subargs = tuple(subst[x] for x in subparams)
Dtyping.py1058 subparams = arg.__parameters__
1059 if subparams:
1060 subargs = tuple(subst[x] for x in subparams)