

def delete_branch(self, name):
    branch = branch.repository.lookup_branch(name)
    if branch:
        branch.delete()

dataset/ETHPy150Open douban/ellen/ellen/repo.py Jagare.delete_branch/VarMisuse@14/16 `self`->`branch`