def close_fds(*args):
    for fds in args:
        for fd in fds:
            try:
                os.close(fd)
            except __HOLE__ as exc:
                if exc.errno != errno.EBADF:
                    raise
dataset/ETHPy150Open akheron/sala/sala/gpg.py/close_fds