#NEWLINE# def __init__( self , func , api_type ) : #NEWLINE# #INDENT# self . scent_api_type = api_type #NEWLINE# self . func = func #NEWLINE# self . __name__ = func . __name__ #NEWLINE# self . __doc__ = api_type . __doc__ #NEWLINE# if ( not isinstance ( func , collections . Callable ) ) : #NEWLINE# #INDENT# raise TypeError ( 'Given object is not callable.' )