#NEWLINE# def _SetUnbreakableOnChildren( self , node ) : #NEWLINE# #INDENT# 'Set an UNBREAKABLE penalty annotation on children of node.' #NEWLINE# for child in node . children : #NEWLINE# #INDENT# self . Visit ( child ) #NEWLINE# #UNINDENT# start = ( 2 if hasattr ( node . children [ 0 ] , 'is_pseudo' ) else 1 ) #NEWLINE# for i in py3compat . range ( start , len ( start . children ) ) : #NEWLINE# #INDENT# self . _SetUnbreakable ( node . children [ i ] )