Source code for wheezy.routing.route
""" ``route`` module.
"""
class Route(object):
[docs] """ Route abstract contract.
"""
exact_matches = None
def match(self, path):
[docs] """ if the ``path`` matches, return the end of
substring matched and kwargs. Otherwise
return ``(-1, None)``.
"""
raise NotImplementedError()
def path(self, values=None):
[docs] """ Build the path for given route.
"""
raise NotImplementedError()