def symbol_decode(input, errors='strict'):
    chars = []
    for (i, c) in enumerate(input):
        try:
            chars.append(decodeTable[ord(c)])
        except __HOLE__:
            if errors == 'replace':
                chars.append(ord(u'?'))
            else:
                raise UnicodeDecodeError("symbol", input, i, i+1, ERROR_STRING)
    return (u"".join(map(unichr, chars)), len(input))
dataset/ETHPy150Open brendonh/pyth/pyth/encodings/symbol.py/symbol_decode