docs: def set_new_country(code, ccy, name):
      '''
      Add new country code to database
      '''
      code = str(code).upper()
      cdb = countries()
      if code in cdb:
          raise CountryError('Country %s already in database' % code)
      ccys = currencydb()
      ccy = str(ccy).upper()
      if ccy not in ccys:
          raise CountryError('Currency %s not in database' % ccy)
      cdb[code] = str(name)
      cccys = countryccys()
      cccys[code] = ccy