The invention provides compounds of the general formula (1): wherein the variables are as defined herein. The compounds have use in inhibiting poly (ADP-ribose) Polymerase (PARP). The invention also provides pharmaceutical compositions containing the compounds and their use as medicaments.