def _time_up(self):
self.running = False<EOL>self.color = self.py3.COLOR_BAD<EOL>self.time_left = <NUM_LIT:0><EOL>self.done = True<EOL>if self.sound:<EOL><INDENT>self.py3.play_sound(self.sound)<EOL>self.alarm = True<EOL><DEDENT>self.timer()<EOL>
Called when the timer expires