#NEWLINE# def _wait( self ) : #NEWLINE# #INDENT# now = time . time ( ) #NEWLINE# elapsed = ( now - self . _lock ) #NEWLINE# wait = max ( 0 , ( 1 - elapsed ) ) #NEWLINE# time . sleep ( wait ) #NEWLINE# self . _lock = time . time ( ) #NEWLINE# return wait