#NEWLINE# def simplify_width( width_type , width_amount ) : #NEWLINE# #INDENT# '\n    Recombine (width_type, width_amount) into an width value.\n    Inverse of normalize_width.\n    ' #NEWLINE# if ( width_amount in ( CLIP , PACK ) ) : #NEWLINE# #INDENT# return width_type #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( width_type == GIVEN ) : #NEWLINE# #INDENT# return width_amount #NEWLINE# #UNINDENT# #UNINDENT# return ( width_type , width_amount )