#NEWLINE# def __init__( self , advising_function , bind = False ) : #NEWLINE# #INDENT# if ( not isgeneratorfunction ( advising_function ) ) : #NEWLINE# #INDENT# raise ExpectedGeneratorFunction ( ( 'advising_function %s must be a generator function.' % advising_function ) ) #NEWLINE# #UNINDENT# self . advising_function = bind #NEWLINE# self . bind = bind