Searched refs:attr_chain (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_renames.py | 11 from ..fixer_util import Name, attr_chain 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
D | fix_imports.py | 6 from ..fixer_util import Name, attr_chain 113 any(match(obj) for obj in attr_chain(node, "parent")):
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_renames.py | 11 from ..fixer_util import Name, attr_chain 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
D | fix_imports.py | 6 from ..fixer_util import Name, attr_chain 113 any(match(obj) for obj in attr_chain(node, "parent")):
|
/external/python/cpython3/Modules/ |
D | _operator.c | 1174 PyObject *attr_chain = PyTuple_New(dot_count + 1); in attrgetter_new() local 1180 if (attr_chain == NULL) { in attrgetter_new() 1193 Py_DECREF(attr_chain); in attrgetter_new() 1198 PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item); in attrgetter_new() 1207 Py_DECREF(attr_chain); in attrgetter_new() 1212 PyTuple_SET_ITEM(attr_chain, attr_chain_idx, attr_chain_item); in attrgetter_new() 1214 PyTuple_SET_ITEM(attr, idx, attr_chain); in attrgetter_new()
|
/external/python/cpython3/Lib/lib2to3/ |
D | fixer_util.py | 191 def attr_chain(obj, attr): function 242 for pattern, parent in zip(patterns, attr_chain(node, "parent")):
|
/external/python/cpython2/Lib/lib2to3/ |
D | fixer_util.py | 170 def attr_chain(obj, attr): function 221 for pattern, parent in zip(patterns, attr_chain(node, "parent")):
|