def getPageHref(self):
        href = self.location.href
        if href.find("?"): href = href.split("?")[0]
        if href.find("#"): href = href.split("#")[0]
        return href
The C{name} attribute of one of the constants gives that constant's
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/Location.py/Location.getPageHref--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/ValuesTests.test_name