Pedantry \Ped"ant*ry\, n. [Cf. F. p['e]danterie.] The act, character, or manners of a pedant; vain ostentation of learning. ``This pedantry of quotation.'' --Cowley. 'T is a practice that savors much of pedantry. --Sir T. Browne.
pedantry n : a ostentatious and inappropriate display of learning