def description_for_number(numobj, lang, script=None, region=None):
 ntype = number_type(numobj)
 if (ntype == PhoneNumberType.UNKNOWN):
  return ''
 elif (not _can_be_geocoded(ntype)):
  return country_name_for_number(numobj, lang, script, region)
 return description_for_valid_number(numobj, lang, script, region)

def description_for_number ( numobj , lang , script = None , region = None ) : ntype = number_type ( numobj ) if ( ntype == PhoneNumberType . UNKNOWN ) : return '' elif ( not _can_be_geocoded ( ntype ) ) : return country_name_for_number ( numobj , lang , script , region ) return description_for_valid_number ( numobj , lang , script , region )
return a text description of a phonenumber object for the given language .