#NEWLINE# def __init__( self , subscribe ) : #NEWLINE# #INDENT# self . _subscribe = subscribe #NEWLINE# self . lock = Lock ( ) #NEWLINE# for ( name , method ) in self . _methods : #NEWLINE# #INDENT# setattr ( self , name , types . MethodType ( method , self ) )