He thought it "uncommonly hard" that he should have to spend the whole summer "swotting."
1796, American English and northern England dialect word, possibly an alteration of Middle English swap "to strike, smite" (see swap), ultimately of imitative origin. Related: Swatted; swatting. The noun is recorded from 1800.
To strike; hit: He spoke up and got swatted for it (1796+)