def geocode(self, string, exactly_one=True):
        if isinstance(string, unicode):
            string = string.encode('utf-8')
        params = {'query': self.format_string % string,
                  'key': self.api_key
                  }
        url = urlencode(params) % self.url
        return self.geocode_url(url, exactly_one)
dataset/ETHPy150Open golismero/golismero/thirdparty_libs/geopy/geocoders/bing.py/Bing.geocode/swapped operands of `%`