def encode_basestring(s):
    def replace(match):
        return ESCAPE_DCT[match.group(0)]
    return '"' + ESCAPE.sub(replace, s) + '"'
Set the value of the given socket option and return the
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/json/encoder.py/encode_basestring--crossover with--dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/llcp/socket.py/Socket.setsockopt