“cmd.edit” picks atoms or a bond for editing.
cmd.edit(string selection1, string selection2, string selection3, string selection4, int pkresi, int pkbond, int quiet)
def edit(selection1='', selection2='none', selection3='none', selection4='none', pkresi=0, pkbond=1, quiet=1):