“cmd.bond” creates a new bond between two selections, each of which should contain one atom.
cmd.bond(string atom1, string atom2)
def bond(atom1="(pk1)", atom2="(pk2)", order=1, edit=1, quiet=1):
bond | api