def set_baseurl(self, baseurl=None, target=None): """Set the base URL and target for the current page. The base URL is taken relative to the existing base URL. """ URIContext.set_baseurl(self, baseurl) if target: self._target = target