From c5f24b2957a2a7569d70930ac5bc630cc5aaac55 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 18 Jan 2010 18:07:12 +0000 Subject: Prep for b1 Merge a bunch of paper-based docs fixes Configure logging during bfgshell. --- repoze/bfg/traversal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'repoze/bfg/traversal.py') diff --git a/repoze/bfg/traversal.py b/repoze/bfg/traversal.py index ab6eea038..496b874a2 100644 --- a/repoze/bfg/traversal.py +++ b/repoze/bfg/traversal.py @@ -131,7 +131,7 @@ def model_path(model, *elements): attempt to append it to a string and it will cause a :exc:`TypeError`. - .. note:: The the :term:`root` model *must* have a ``__name__`` + .. note:: The :term:`root` model *must* have a ``__name__`` attribute with a value of either ``None`` or the empty string for paths to be generated properly. If the root model has a non-null ``__name__`` attribute, its name @@ -288,7 +288,7 @@ def model_path_tuple(model, *elements): ``model`` object based on its position in an object graph, e.g ``('', 'foo', 'bar')``. Any positional arguments passed in as ``elements`` will be appended as elements in the tuple - representing the the model path. For instance, if the model's + representing the model path. For instance, if the model's path is ``('', 'foo', 'bar')`` and elements equals ``('a', 'b')``, the returned tuple will be ``('', 'foo', 'bar', 'a', b')``. The first element of this tuple will always be the empty string (a @@ -312,7 +312,7 @@ def model_path_tuple(model, *elements): dictionary will be placed in the path tuple; no warning or error will be given. - .. note:: The the :term:`root` model *must* have a ``__name__`` + .. note:: The :term:`root` model *must* have a ``__name__`` attribute with a value of either ``None`` or the empty string for path tuples to be generated properly. If the root model has a non-null ``__name__`` attribute, -- cgit v1.2.3