From 0a0ffe0b01e81e2fd55e92a818187d3b3b294605 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 26 Oct 2009 13:38:21 +0000 Subject: Revert 6873, as it introduces an unnecessary providedBy for each request in the 99% case, and its behavior can be emulated by returning a root object that implements some interface and registering a traverser for that interface. --- docs/narr/hooks.rst | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs') diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 6babeace0..d2020af0d 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -278,9 +278,6 @@ when the application :term:`root factory` returned an instance of the ``myapp.models.MyRoot`` object. Otherwise it would use the default :mod:`repoze.bfg` traverser to do traversal. -Note that the root object may itself implement ``ITraverser`` in which -case adaptation is skipped. - Example implementations of alternate traversers can be found "in the wild" within `repoze.bfg.traversalwrapper `_ and -- cgit v1.2.3