def is_obj(path): assert sys.platform != 'win32' return bool((sys.platform.startswith('linux') and elf.is_elf(path)) or (sys.platform == 'darwin' and macho.is_macho(path)))
def is_obj(path): assert sys.platform != "win32" return bool( (sys.platform.startswith("linux") and elf.is_elf(path)) or (sys.platform == "darwin" and macho.is_macho(path)) )