summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/traversal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/traversal.py b/pyramid/traversal.py
index 48f8017f6..73f994bda 100644
--- a/pyramid/traversal.py
+++ b/pyramid/traversal.py
@@ -333,14 +333,14 @@ def resource_path_tuple(resource, *elements):
``elements`` will be appended as elements in the tuple
representing the resource path. For instance, if the resource's
path is ``('', 'foo', 'bar')`` and elements equals ``('a', 'b')``,
- the returned tuple will be ``('', 'foo', 'bar', 'a', b')``. The
+ the returned tuple will be ``('', 'foo', 'bar', 'a', 'b')``. The
first element of this tuple will always be the empty string (a
leading empty string element in a path tuple represents that the
path is absolute).
This function is a logical inverse of
:func:`pyramid.traversal.find_resource`: it can be used to
- generate path references that can later be resolved that function.
+ generate path references that can later be resolved by that function.
The ``resource`` passed in *must* be :term:`location`-aware.