#NEWLINE# def __lshift__( self , other ) : #NEWLINE# #INDENT# if isinstance ( other , ( ViewableElement , UniformNdMapping ) ) : #NEWLINE# #INDENT# return AdjointLayout ( [ self , other ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( other , AdjointLayout ) : #NEWLINE# #INDENT# return AdjointLayout ( ( other . data + [ self ] ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( 'Cannot append {0} to a AdjointLayout' . format ( type ( other ) . __name__ ) )