I assumed for many years, because of the scorned and scornful tone of the lyrics, that this was a John Lennon song. Actually, Paul McCartney wrote most of it. The fact that he’s lead singer should have tipped me off. John plays acoustic rhythm guitar and sings back-up.
Footnote: Paul is 69 and sounding a bit ragged (check out the Grammy Awards), but so what? The Beatles’ records will never get old.