def _args_to_str(args):
    out = []
    for arg in args:
        try:
            # noinspection PyProtectedMember
            out.append(str(arg._obj))
        except __HOLE__:
            out.append(arg)
    return tuple(out)
dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/ctwrapper/highlevel.py/_args_to_str