def clean_link(self, url):
        """Makes sure a link is fully encoded.  That is, if a ' ' shows up in
        the link, it will be rewritten to %20 (while not over-quoting
        % or other characters)."""
        return self._clean_re.sub(
            lambda match: ord(match.group(0)) % '%%%2x', url)
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/index.py/HTMLPage.clean_link/swapped operands of `%`