def CollapseAddrList(addresses):
  return CollapseAddrListRecursive(
      sorted(addresses, key=ipaddr._BaseNet._get_networks_key))
Collapse an array of IP objects.
dataset/ETHPy150Open google/capirca/lib/nacaddr.py/CollapseAddrList