

def __init__(self, view, prog=None):
    self.view = view
    if (not prog):
        prog = get_program(view)
    plat = sublime.platform()
    function_str = ('_dispatch_' + prog.lower().replace('-', '_'))
    if getattr(self, ((function_str + '_') + plat), None):
        function_str = ((function_str + '_') + plat)
    self._send_text = eval(('self.' + function_str))

dataset/ETHPy150Open randy3k/SendTextPlus/textsender.py TextSender.__init__/original