Searched refs:attr_chain (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_renames.py | 11 from ..fixer_util import Name, attr_chain namespace 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
H A D | fix_imports.py | 6 from ..fixer_util import Name, attr_chain namespace 113 any(match(obj) for obj in attr_chain(node, "parent")):
|
/third_party/python/Modules/ |
H A D | _operator.c | 1264 PyObject *attr_chain = PyTuple_New(dot_count + 1); in attrgetter_new() local 1270 if (attr_chain == NULL) { in attrgetter_new() 1283 Py_DECREF(attr_chain); in attrgetter_new() 1288 PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item); in attrgetter_new() 1297 Py_DECREF(attr_chain); in attrgetter_new() 1302 PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item); in attrgetter_new() 1304 PyTuple_SET_ITEM(attr, idx, attr_chain); in attrgetter_new()
|
/third_party/python/Lib/lib2to3/ |
H A D | fixer_util.py | 191 def attr_chain(obj, attr): function 242 for pattern, parent in zip(patterns, attr_chain(node, "parent")):
|
Completed in 7 milliseconds