summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey T. Dairiki <dairiki@dairiki.org>2011-05-09 09:25:01 -0700
committerGeoffrey T. Dairiki <dairiki@dairiki.org>2011-05-09 09:25:01 -0700
commitf8d20a2deb08a83674f72a58301733a9a3faa1b4 (patch)
treef43ce65e3857a1af3d8827de22df60473ff924f3
parentc74ff77ab9ddeb0fa8387524ce916f4eca7edcd8 (diff)
downloadpyramid-f8d20a2deb08a83674f72a58301733a9a3faa1b4.tar.gz
pyramid-f8d20a2deb08a83674f72a58301733a9a3faa1b4.tar.bz2
pyramid-f8d20a2deb08a83674f72a58301733a9a3faa1b4.zip
fixes trivial doc typos
-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.