Example #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)])
Example #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)])
Example #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]))
Example #4
0
 def raised_exception(self):
     return any([c.raised_exception() for c in self.calls])
Example #5
0
 def raised_exception(self):
     return any([c.raised_exception() for c in self.calls])