#NEWLINE# def _Update( self ) : #NEWLINE# #INDENT# last_time = self . now #NEWLINE# self . now = time . time ( ) #NEWLINE# skew = max ( 0 , ( ( self . now - last_time ) - self . _interval ) ) #NEWLINE# next_tick = ( ( self . now + self . _interval ) - skew ) #NEWLINE# GLOBAL_TIMER_QUEUE . Schedule ( next_tick , self . _Update )