def powSeries(requestContext, *seriesLists):
    """
    Takes two or more series and pows their points. A constant line may be
    used.

    Example::

        &target=powSeries(Server.instance01.app.requests,
                          Server.instance01.app.replies)

    """
    if not seriesLists or not any(seriesLists):
        return []
    seriesList, start, end, step = normalize(seriesLists)
    name = "powSeries(%s)" % ','.join([s.name for s in seriesList])
    values = []
    for row in zip_longest(*seriesList):
        first = True
        tmpVal = None
        for element in row:
            # If it is a first iteration - tmpVal needs to be element
            if first:
                tmpVal = element
                first = False
            else:
                tmpVal = safePow(tmpVal, element)
        values.append(tmpVal)
    series = TimeSeries(name, start, end, step, values)
    series.pathExpression = name
    return [series]

    Takes two or more series and pows their points. A constant line may be
    used.

    Example::

        &target=powSeries(Server.instance01.app.requests,
                          Server.instance01.app.replies)

    
graphite_api/functions.py