For anyone just switching on to British politics last night, it may have appeared that parliamentarians had lost the plot.