#NEWLINE# @ pg . production ( 'if-suite : IF ternary COLON suite elifs' ) #NEWLINE# def if_with_elifs( s , p ) : #NEWLINE# #INDENT# res = ast . If ( s . pos ( p [ 0 ] ) ) #NEWLINE# res . blocks = ( [ ( res [ 1 ] , p [ 3 ] ) ] + p [ 4 ] ) #NEWLINE# return res