235
235
if len(todo) == 0 or type(obj) not in self.fmap:
236
236
raise NotFound(obj, '+index', ())
242
242
if routebits is not None:
244
244
# The first path segment is the route identifier, so we skip
245
245
# it when identifying arguments.
248
248
# Attempt traversal directly (with no intermediate segment)
253
253
raise NotFound(obj, todo[0], todo[1:])