

def example_number_for_non_geo_entity(country_calling_code):
    'Gets a valid number for the specified country calling code for a non-geographical entity.\n\n    Arguments:\n    country_calling_code -- The country calling code for a non-geographical entity.\n\n    Returns a valid number for the non-geographical entity. Returns None when\n    the metadata does not contain such information, or the country calling\n    code passed in does not belong to a non-geographical entity.\n    '
    metadata = PhoneMetadata.metadata_for_nongeo_region(country_calling_code, None)
    if (metadata is not None):
        desc = metadata.general_desc
        try:
            if (desc.example_number is not None):
                return parse(((_PLUS_SIGN + unicod(country_calling_code)) + desc.example_number), UNKNOWN_REGION)
        except NumberParseException:
            pass
    return None

dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py example_number_for_non_geo_entity/original