def p_power(p):
 if (len(p) == 2):
  p[0] = p[1]
 elif (p[2][0] == 'CALL'):
  p[0] = ast.CallFunc(p[1], p[2][1], None, None)
 else:
  raise AssertionError('not implemented')

def p_power ( p ) : if ( len ( p ) == 2 ) : p [ 0 ] = p [ 1 ] elif ( p [ 2 ] [ 0 ] == 'CALL' ) : p [ 0 ] = ast . CallFunc ( p [ 1 ] , p [ 2 ] [ 1 ] , None , None ) else : raise AssertionError ( 'not implemented' )
power : atom | atom trailer .