“cmd.remove_picked” removes the atom or bond currently picked for editing.
cmd.remove_picked(integer hydrogens)
def remove_picked(hydrogens=1,quiet=1):
remove_picked | api