#NEWLINE# def hsplit( self , columnwidth ) : #NEWLINE# #INDENT# assert ( columnwidth > 0 ) #NEWLINE# assert ( columnwidth < self . width ) #NEWLINE# return ( self . __class__ ( self . x , self . y , columnwidth , self . height ) , self . __class__ ( ( self . x + columnwidth ) , self . y , ( self . width - columnwidth ) , self . height ) )