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