summaryrefslogtreecommitdiff
path: root/repoze/bfg/traversal.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-18 18:07:12 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-18 18:07:12 +0000
commitc5f24b2957a2a7569d70930ac5bc630cc5aaac55 (patch)
treeb6c09425e10c2900bf2120dfe4d390e9070f960c /repoze/bfg/traversal.py
parente4ed8fdb6acc8a9b040c8f61221da0e79821e071 (diff)
downloadpyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.gz
pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.bz2
pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.zip
Prep for b1
Merge a bunch of paper-based docs fixes Configure logging during bfgshell.
Diffstat (limited to 'repoze/bfg/traversal.py')
-rw-r--r--repoze/bfg/traversal.py6
1 files changed, 3 insertions, 3 deletions
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,