Only when he finished his homework ________that he had made a mistake.
分析:考查倒装句,only+状语从句的句子中,主谓要倒装,因而本题答案为 B。 句意:直到做完作业,他才意识到自己犯了一个错误。