250
251
# The first path segment is the route identifier, so we skip
251
252
# it when identifying arguments.
256
261
# Attempt traversal directly (with no intermediate segment)
259
264
route, argc = names[None]
264
273
raise NotFound(obj, todo[0])
267
276
# There were too few path segments left. Die.
268
277
raise InsufficientPathSegments(obj, lastseg, len(args))