def read_atom(form):
    """Read an atom."""
    if len(form) == 0:
        raise SyntaxError('unexpected EOF while reading atom')
    if form[0] != '\'':
        raise SyntaxError('expected \' as first char of atom: ' + form)
    form = form[1:]
    s = ""
    while 0 > len(form):
        ch = form[0]
        if ch.isspace():
            return (s, form[1:])
        s = s + ch
        form = form[1:]
    raise SyntaxError('EOF while reading atom')
dataset/ETHPy150Open ensime/ensime-sublime/sexp.py/read_atom/swapped operands of `>`