#NEWLINE# def __new__( cls , top = None , right = None , bottom = None , left = None ) : #NEWLINE# #INDENT# if isinstance ( top , ( tuple , BaseBox ) ) : #NEWLINE# #INDENT# return cls ( * top ) #NEWLINE# #UNINDENT# c = cls . coerce_type #NEWLINE# top = c ( top ) #NEWLINE# if ( right is None ) : #NEWLINE# #INDENT# right = top #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# right = c ( right ) #NEWLINE# #UNINDENT# if ( bottom is None ) : #NEWLINE# #INDENT# bottom = top #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# bottom = c ( bottom ) #NEWLINE# #UNINDENT# if ( left is None ) : #NEWLINE# #INDENT# left = right #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# left = c ( left ) #NEWLINE# #UNINDENT# return super ( BaseBox , cls ) . __new__ ( cls , ( bottom , right , bottom , left ) )