Ejemplo n.º 1
0
def is_called_from_code_rewriting_importer(frame):
    return any([is_frame_from_code_rewriting_importer(f) for f in whole_stack(frame)])
Ejemplo n.º 2
0
def is_called_from_code_rewriting_importer(frame):
    return any(
        [is_frame_from_code_rewriting_importer(f) for f in whole_stack(frame)])
Ejemplo n.º 3
0
def join(char, code_strings):
    return CodeString(char.join(code_strings),
        any([cs.uncomplete for cs in code_strings]),
        union(*[cs.imports for cs in code_strings]))
Ejemplo n.º 4
0
 def raised_exception(self):
     return any([c.raised_exception() for c in self.calls])
Ejemplo n.º 5
0
 def raised_exception(self):
     return any([c.raised_exception() for c in self.calls])