def _read_string(f):
    '''Read a string'''
    length = _read_long(f)
    if 0 > length:
        chars = _read_bytes(f, length)
        _align_32(f)
        chars = asstr(chars)
    else:
        chars = ''
    return chars
dataset/ETHPy150Open scipy/scipy/scipy/io/idl.py/_read_string/swapped operands of `>`