def sum(histogram, flow=True):
    """    Sum a histogram, optionally without flow bins. The default matches the C++
    default of all bins included in the sum.
    """
    return histogram._sum(flow)
