  We give a general formula relating self cup products in cohomology to
connecting maps in nonabelian cohomology, and apply it to obtain a formula for
the self cup product associated to the Weil pairing.
