def get_url(self, method, **kwargs):
        """Reverse mapping. Answers the question: How do I reach the
        callable object mapped to in the LOCATIONMAP?
        """
        if isinstance(method, basestring):
            if "." in method:
                method = get_method(method)
            else:
                try:
                    urlmap = self._aliases[method]
                except __HOLE__:
                    raise InvalidPath("Alias not registered")
                return urlmap.get_url(**kwargs)
        try:
            urlmap = self._reverse[method]
        except KeyError:
            raise InvalidPath("Method %r not registered." % (method,))
        return self._urlbase + urlmap.get_url(**kwargs)
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/framework.py/URLResolver.get_url