summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-02-06 05:07:51 +0000
committerChris McDonough <chrism@agendaless.com>2009-02-06 05:07:51 +0000
commit3588219d7ffc8333eb0b75db31e120a41d2c5b52 (patch)
tree1d8ec61267c31d66bfbb581dd3ee4e7bdd89008a
parentbb3cfa91e3bd40678a20d5dd522354a09e214f2d (diff)
downloadpyramid-3588219d7ffc8333eb0b75db31e120a41d2c5b52.tar.gz
pyramid-3588219d7ffc8333eb0b75db31e120a41d2c5b52.tar.bz2
pyramid-3588219d7ffc8333eb0b75db31e120a41d2c5b52.zip
Bah.
-rw-r--r--repoze/bfg/traversal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/traversal.py b/repoze/bfg/traversal.py
index 671d35fc3..e330a14eb 100644
--- a/repoze/bfg/traversal.py
+++ b/repoze/bfg/traversal.py
@@ -133,13 +133,13 @@ def model_path(model, *elements):
``/foo/bar``. Any positional arguments passed in as ``elements``
will be appended as path segments to the end of the model path.
For instance, if the model's path is ``/foo/bar`` and ``elements``
- equals ``('a', 'b')``, the returned tuple will be
+ equals ``('a', 'b')``, the returned string will be
``/foo/bar/a/b``. The first character in the string will always
be the ``/`` character (a leading ``/`` character in a path string
represents that the path is absolute).
Model path strings returned will be escaped in the following
- manner: each unicode path segment will be encoded as UTF-8 and as
+ manner: each unicode path segment will be encoded as UTF-8 and
each path segment will be escaped via Python's ``urllib.quote``.
For example, ``/path/to%20the/La%20Pe%C3%B1a``.