

def get_match_routes(self):
    'Generator to get all routes that can be matched from a route.\n\n        :yields:\n            This route or all nested routes that can be matched.\n        '
    if self.redirect_to_name:
        main_route = self._get_redirect_route(name=self.redirect_to_name)
    else:
        main_route = template
    if (not self.build_only):
        if (self.strict_slash is True):
            if self.template.endswith('/'):
                template = self.template[:(- 1)]
            else:
                template = (self.template + '/')
            (yield main_route)
            (yield self._get_redirect_route(template=template))
        else:
            (yield main_route)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/routes.py RedirectRoute.get_match_routes/VarMisuse@39/111 `self`->`template`