#NEWLINE# def __call__( self , ob ) : #NEWLINE# #INDENT# if isinstance ( ob , ( FunctionType , MethodType ) ) : #NEWLINE# #INDENT# raise ValueError ( 'The implementor_only decorator is not supported for methods or functions.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# classImplementsOnly ( ob , * self . interfaces ) #NEWLINE# return self