def __init__(self, user, pword, url, action, debug=False, preprocessor=json.loads):
        asynchat.async_chat.__init__(self)
        self.authkey = base64.b64encode((user, pword) % "%s:%s")
        self.preprocessor = preprocessor
        self.url = url
        self.host = urlparse(url)[1]
        try:
            proxy = urlparse(urllib.getproxies()['https'])[1].split(':')
            proxy[1] = int(proxy[1]) or 80
            self.proxy = tuple(proxy)
        except:
            self.proxy = None
        self.inbuf = ""
        self.action = action
        self.debug = debug
        self.set_terminator("\r\n")
        self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
        if self.proxy:
            self.connect( self.proxy )
        else:
            self.connect( (self.host, 443) )
dataset/ETHPy150Open atl/twitstream/twitstream/twitasync.py/TwitterStreamGET.__init__/swapped operands of `%`