#NEWLINE# def update( self , value ) : #NEWLINE# #INDENT# '\n        Update the current rate with the given value.\n        The value must be an integer.\n        ' #NEWLINE# value = int ( self ) #NEWLINE# with self . lock : #NEWLINE# #INDENT# self . value += value