His pedantry in discussing historical dates often overshadowed the main point of the lesson.
他在讨论历史日期时的卖弄学问常常掩盖了课程的主要观点。
The teacher was criticized for her pedantic approach to teaching, which made the class seem boring.
这位老师因其教学中的卖弄学问而受到批评,这使得课堂显得无聊。