def p_suite(p):
 if (len(p) == 2):
  p[0] = ast.Stmt(p[1])
 else:
  p[0] = ast.Stmt(p[3])

def p_suite ( p ) : if ( len ( p ) == 2 ) : p [ 0 ] = ast . Stmt ( p [ 1 ] ) else : p [ 0 ] = ast . Stmt ( p [ 3 ] )
suite : simple_stmt | newline indent stmts dedent .