#NEWLINE# def _handle_long_word( self , reversed_chunks , cur_line , cur_len , width ) : #NEWLINE# #INDENT# '_handle_long_word(chunks : [string],\n                             cur_line : [string],\n                             cur_len : int, width : int)\n\n        Handle a chunk of text (most likely a word, not whitespace) that\n        is too long to fit in any line.\n        ' #NEWLINE# if ( width < 1 ) : #NEWLINE# #INDENT# space_left = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# space_left = ( width - cur_len ) #NEWLINE# #UNINDENT# if self . break_long_words : #NEWLINE# #INDENT# cur_line . append ( reversed_chunks [ ( - 1 ) ] [ : space_left ] ) #NEWLINE# reversed_chunks [ ( - 1 ) ] = reversed_chunks [ ( - 1 ) ] [ space_left : ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( not self ) : #NEWLINE# #INDENT# cur_line . append ( reversed_chunks . pop ( ) )