parameters: (anomalies)
return_statement: return lowest_revision, highest_revision
docstring: Gets the lowest start and highest end revision for |anomalies|.
docstring_summary: Gets the lowest start and highest end revision for |anomalies|.
docstring_tokens: Gets the lowest start and highest end revision for |anomalies| .
function: def _MaximalRevisionRange(anomalies):
    """Gets the lowest start and highest end revision for |anomalies|."""
    lowest_revision = sys.maxint
    highest_revision = 1
    for anomaly_entity in anomalies:
      if anomaly_entity.start_revision < lowest_revision:
        lowest_revision = anomaly_entity.start_revision
      if anomaly_entity.end_revision > highest_revision:
        highest_revision = anomaly_entity.end_revision
    return lowest_revision, highest_revision
function_tokens: def _MaximalRevisionRange ( anomalies ) : lowest_revision = sys . maxint highest_revision = 1 for anomaly_entity in anomalies : if anomaly_entity . start_revision < lowest_revision : lowest_revision = anomaly_entity . start_revision if anomaly_entity . end_revision > highest_revision : highest_revision = anomaly_entity . end_revision return lowest_revision , highest_revision