code: def _forObject(self, obj):
          
          router = type(self)()
          router._routes = list(self._routes)
          router._self = obj
          return router
docs: Create a new `Router` instance, with it's own set of routes, for
          ``obj``.