“cmd.cycle_valence” cycles the valence on the currently selected bond.
cmd.cycle_valence(int h_fill)
def cycle_valence(h_fill=1, quiet=1):
cycle_valence | api