code: def clean_link(self, url):
          
          return self._clean_re.sub(lambda match: "%%%2x" % ord(match.group(0)), url)
docs: 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).