

def set_buffer_autocommands(buff):
    vim.command('augroup plugin-pyunite')
    vim.command('autocmd! * <buffer={}>'.format(buff.number))
    for (event, handler) in handlers:
        vim.command('autocmd {} <buffer={}> call s:{}()'.format(handler, buff.number, handler.func_name))
    vim.command('augroup END')

dataset/ETHPy150Open azure-satellite/pyunite/pyunite/core.py set_buffer_autocommands/VarMisuse@50/90 `event`->`handler`