code: def country_map(code):
      '''
      Country mapping
      '''
      code = str(code).upper()
      global _country_maps
      return _country_maps.get(code, codef country_map(code):
      '''
      Country mapping
      '''
      code = str(code).upper()
      global _country_maps
      return _country_maps.get(code, code)
docs: Country mapping