Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_dict.py60 isiter = method_name.startswith("iter")
62 if isiter or isview:
67 special = not tail and self.in_special_context(node, isiter)
76 new = Call(Name("iter" if isiter else "list"), [new])
90 def in_special_context(self, node, isiter): argument
97 if isiter:
103 if not isiter:
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_dict.py61 isiter = method_name.startswith(u"iter")
63 if isiter or isview:
68 special = not tail and self.in_special_context(node, isiter)
77 new = Call(Name(u"iter" if isiter else u"list"), [new])
91 def in_special_context(self, node, isiter): argument
98 if isiter:
104 if not isiter: