#NEWLINE# def __and__( self , other ) : #NEWLINE# #INDENT# '\n        Chaining of filters using the & operator.\n        ' #NEWLINE# if ( isinstance ( other , Always ) or isinstance ( self , Never ) ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( isinstance ( other , Never ) or isinstance ( self , Always ) ) : #NEWLINE# #INDENT# return other #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# assert isinstance ( other , Filter ) , ( 'Expecting filter, got %r' % other ) #NEWLINE# return _and ( self , other )