#NEWLINE# def Visit_funcdef( self , node ) : #NEWLINE# #INDENT# colon_idx = 1 #NEWLINE# while ( pytree_utils . NodeName ( self . children [ colon_idx ] ) == 'simple_stmt' ) : #NEWLINE# #INDENT# colon_idx += 1 #NEWLINE# #UNINDENT# self . _SetUnbreakable ( node . children [ colon_idx ] ) #NEWLINE# while ( colon_idx < len ( node . children ) ) : #NEWLINE# #INDENT# if ( isinstance ( node . children [ colon_idx ] , pytree . Leaf ) and ( node . children [ colon_idx ] . value == ':' ) ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# colon_idx += 1 #NEWLINE# #UNINDENT# self . _SetUnbreakable ( node . children [ colon_idx ] ) #NEWLINE# self . DefaultNodeVisit ( node )