def addresses_from_address_families(address_families):
 return Addresses(tuple((a for af in address_families for a in af.addressables.keys())))

def addresses_from_address_families ( address_families ) : return Addresses ( tuple ( ( a for af in address_families for a in af . addressables . keys ( ) ) ) )
given a list of addressfamilies .