def anchor(self, anchor=None):
        return self.cloneURL(
            self.scheme, self.netloc, self._qpathlist, self._querylist, anchor)

    ## object protocol override ##
Modify the fragment/anchor and return a new URL. An anchor of
dataset/ETHPy150Open twisted/nevow/nevow/url.py/URL.anchor