Definitions of pedantry:

  • noun:   a ostentatious and inappropriate display of learning