Home
last modified time | relevance | path

Searched refs:in_special_context (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_zip.py12 from ..fixer_util import Name, Call, in_special_context
28 if in_special_context(node):
Dfix_filter.py19 from ..fixer_util import Name, Call, ListComp, in_special_context
70 if in_special_context(node):
Dfix_map.py25 from ..fixer_util import Name, Call, ListComp, in_special_context
85 if in_special_context(node):
Dfix_xrange.py44 not self.in_special_context(node)):
63 def in_special_context(self, node): member in FixXrange
Dfix_dict.py68 special = not tail and self.in_special_context(node, isiter)
91 def in_special_context(self, node, isiter): member in FixDict
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_zip.py14 from ..fixer_util import Name, ArgList, in_special_context
31 if in_special_context(node):
Dfix_filter.py20 from ..fixer_util import Name, ArgList, ListComp, in_special_context, parenthesize
86 if in_special_context(node):
Dfix_map.py25 from ..fixer_util import Name, ArgList, Call, ListComp, in_special_context
103 if in_special_context(node):
Dfix_xrange.py44 not self.in_special_context(node)):
63 def in_special_context(self, node): member in FixXrange
Dfix_dict.py67 special = not tail and self.in_special_context(node, isiter)
90 def in_special_context(self, node, isiter): member in FixDict
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py229 def in_special_context(node): function
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py208 def in_special_context(node): function