def _example_short_number(region_code):
 metadata = PhoneMetadata.short_metadata_for_region(region_code)
 if (metadata is None):
  return U_EMPTY_STRING
 desc = metadata.short_code
 if (desc.example_number is not None):
  return desc.example_number
 return U_EMPTY_STRING

def _example_short_number ( region_code ) : metadata = PhoneMetadata . short_metadata_for_region ( region_code ) if ( metadata is None ) : return U_EMPTY_STRING desc = metadata . short_code if ( desc . example_number is not None ) : return desc . example_number return U_EMPTY_STRING
gets a valid short number for the specified region .