#NEWLINE# def filter( self , data , strict = False , allow_downcast = None ) : #NEWLINE# #INDENT# if ( not isinstance ( data , gpuarray . GpuContext ) ) : #NEWLINE# #INDENT# raise TypeError ( 'context is not a GpuContext' ) #NEWLINE# #UNINDENT# return data